jazzband / django-authority

A Django app that provides generic per-object-permissions for Django's auth app and helpers to create custom permission checks.
http://django-authority.readthedocs.org
BSD 3-Clause "New" or "Revised" License
292 stars 57 forks source link

Django custom user model #5

Closed remik closed 11 years ago

remik commented 11 years ago

Django 1.5 adds support for Custom User Model instead of auth.User More details: https://docs.djangoproject.com/en/dev/topics/auth/customizing/#auth-custom-user

winhamwr commented 11 years ago

Hi Remigiusz,

Thanks so much for the pull request. I haven't had a chance to play with custom user models in Django 1.5 yet. I'm assuming the getattr call is to allow backwards compatibility with Django 1.3, 1.4 etc?

Thanks -Wes

remik commented 11 years ago

Yes, I don't want you to break older releases.

jlward commented 11 years ago

This was implemented in #7