Django super-admin styling

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’),
]

Use code tags in your post and provide your urls.py and settings.py. That would help to better understand the problem.

The two most common causes for this are either that your browser has files cached with the same names, or that you have a conflicting css file in your project.

To test the first possibility, try accessing the site in “Private” or “Incognito” mode. To look for the second, see what the names are of the css files being loaded when you reference the admin page, and verify that you do not have files by those names in your project.