How to make my custom AdminSite class use my custom login/logout views?
I have a custom AdminSite class working but now I'm trying to work out the best way to make it use my custom login and logout views. I supposed I could copy chunks of code from Django's admin sites.py and make it use my views. But this is a hack. Is there a standard way of using custom login/logout views in the admin site? Thanks
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/1vT_ZqXoSHcJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home