if I have my custom adminsite
But may exists build-in Django method, for getting used AdminSite
For example Django has useful method for getting AUTH_USER_MODEL
-- http://dpaste.com/0ZJ77EH
To get used the adminsite I simple imported it.
from conf.admin import ProgrammerHelperAdminSite
For example Django has useful method for getting AUTH_USER_MODEL
from django.contrib.auth import get_user_model
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7a9e39df-e3ce-4a35-b918-553e61e6c799%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment