celiao / django-rest-authemail

A RESTful API for user signup and authentication using email addresses.
GNU General Public License v3.0
315 stars 92 forks source link

Makes has_add_permissions compatible with Django 3.0 and above #34

Closed kolaf closed 2 years ago

kolaf commented 3 years ago

I could not successfully use this without overriding has_object_permissions for all of the class as defined in admin.py. As far as I understand these functions are now required to support two parameters. This pull request fixes that.

celiao commented 2 years ago

I merged pull request #41, which fixes has_add_permissions().

Too many other unrelated changes are in this pull request. If you would like me to consider other changes, remove the has_add_permissions() changes and please submit remaining changes in smaller PRs.

Closing.