mozilla / django-browserid

Django application for adding BrowserID support.
Mozilla Public License 2.0
180 stars 80 forks source link

Add support for BrowserID in the Admin Interface #196

Closed Osmose closed 10 years ago

Osmose commented 10 years ago

We should make it easy for users to add support for BrowserID-based login in their admin interface.

IMO the best way to do this, given the amount of templates that need to be overridden, is with a subclass of AdminSite and an instance similar to django.admin.site. This way, users can just replace all use of django.admin.site with django_browserid.admin.site and be done with it.

Osmose commented 10 years ago

I've got a commit that fixes this that is waiting for #208 to be reviewed and merged: https://github.com/Osmose/django-browserid/commit/b0fab3e4b348f5e5c4c099639dd70668e3901f65