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.
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 todjango.admin.site
. This way, users can just replace all use ofdjango.admin.site
withdjango_browserid.admin.site
and be done with it.