20👍
✅
django.contrib.admin
is simply a Django app.
Remove or comment django.contrib.admin
from INSTALLED_APPS
in settings.py
file.
Also remove or comment from django.contrib import admin
from admin.py'
,urls.py
and all the files having this import statement.
Remove url(r'^admin/', include(admin.site.urls)
from urlpatterns
in urls.py
.
1👍
I have resolved this issue.
I had #url(r'^admin/', include(admin.site.urls)),
in my urls.py
which I just commented out.
- How to store an integer leaded by zeros in django
- Why does JSON returned from the django rest framework have forward slashes in the response?
- Filter a Django form select element based on a previously selected element
- Where is Pip3 Installing Modules?
- Django Celery Task Logging
Source:stackexchange.com