Hey there, I am working on django rest framework and I am facing the problem in admin (django’s super admin portal). When I start the server and go to super admin portal it doesn’t show me the GUI
I’ve done collectstatic, I’ve added the static-url, root and staticfiles_dirs.
projects-urls.py:
if settings.DEBUG:
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
settings.py:
MEDIA_ROOT = os.path.join(BASE_DIR, ‘media’)
STATIC_URL = ‘/static/’
STATIC_ROOT = os.path.join(BASE_DIR, ‘staticfiles’)
STATICFILES_DIRS = [
os.path.join(BASE_DIR, ‘static’),
]
