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 AM7/4/16
to Django users
if I have my custom adminsite


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