specialunderwear / django-easymode

Quickly build backends for flash/flex websites with Django.
GNU General Public License v3.0
33 stars 20 forks source link

Fixes I18n for models with tuple permissions #16

Closed nizaroni closed 11 years ago

nizaroni commented 11 years ago

Fixes an error when I18n tries to add its permission to a model with a tuple for permissions. A model's cls._meta.permissions attribute can either be a list or a tuple (see https://docs.djangoproject.com/en/1.4/ref/models/options/#permissions).