Groups
Groups
Sign in
Groups
Groups
Django users
Conversations
About
Send feedback
Help
admin css not working
158 views
Skip to first unread message
pritesh singh
unread,
Jul 17, 2016, 6:52:23 AM
7/17/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
The stylesheet
http://127.0.0.1:8000/static/admin/css/base.css
was not loaded because its MIME type, "application/x-css", is not "text/css".
The stylesheet
http://127.0.0.1:8000/static/admin/css/dashboard.css
was not loaded because its MIME type, "application/x-css", is not "text/css".
in browser console following error occurs
error1.png
Tim Graham
unread,
Jul 17, 2016, 3:52:49 PM
7/17/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Do you have DEBUG=False in your settings? That disables automatic serving of static files:
https://docs.djangoproject.com/en/stable/howto/static-files/#serving-static-files-during-development
Shem Nashon
unread,
Jul 18, 2016, 10:37:56 AM
7/18/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
TRy to be a bit clear, does CSS for your own static files load, have you set up or deleted STATIC_URL setting or static_root
Reply all
Reply to author
Forward
0 new messages