Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to un register DefaultAdminSite in django


https://mefiz.com/  # For Developer
#admin.py
from django.contrib.auth.models import User,Group
admin.site.unregister(User)
admin.site.unregister(Group)
admin.site.unregister(Site)
 
PREVIOUS NEXT
Tagged: #register #DefaultAdminSite #django
ADD COMMENT
Topic
Name
7+8 =