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

Fix django deprecations #12

Closed gthb closed 10 years ago

gthb commented 10 years ago

Fixing some stuff I've encountered when running with scissors Django 1.5.1

winhamwr commented 10 years ago

With these changes, are things still kosher on Django 1.3? I don't actually ever use the Admin integration, myself.

winhamwr commented 10 years ago

And thanks for both of the pull requests :) I haven't gotten to use Django 1.5 on any real project yet, so I appreciate that some of this will be fixed for when I do.

gthb commented 10 years ago

Whoops, forgot to comment here (was traveling). Looks like these changes are not kosher on Django 1.3:

So I guess this should only be merged on a branch that abandons Django 1.3 compatibility (or else this should be improved to stay compatible).