Groups
Groups
Sign in
Groups
Groups
Django users
Conversations
About
Send feedback
Help
How get used AdminSite in a Django-project (custom or standart)?
15 views
Skip to first unread message
Seti Volkylany
unread,
Jul 4, 2016, 5:33:06 AM
7/4/16
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 users
if I have my custom adminsite
http://dpaste.com/0ZJ77EH
To get used the adminsite I simple imported it.
from
conf
.
admin
import
ProgrammerHelperAdminSite
But may exists build-in Django method, for getting used AdminSite
For example Django has useful method for getting AUTH_USER_MODEL
from
django
.
contrib
.
auth
import
get_user_model
Reply all
Reply to author
Forward
0 new messages