How to make my custom AdminSite class use my custom login/logout views?
25 views
Skip to first unread message
Stodge
unread,
Sep 6, 2012, 10:13:01 AM9/6/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
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