I'm using Django on a Debian VM, django server is loaded through nginx. Everything's working fine 'til now, except the admin interface. In fact, the admin site, doesn't load the "look and feel" of the interface. It seems that Css and images aren't loading at all, any ideas?
Thanks.
You have probably set the wrong ADMIN_MEDIA_PREFIX setting or simply not set the server up to serve anything from that URL. If you have set all of that correctly, make sure you have copied (or linked) the Django admin media to your project.
I haven't setted up any serving static files. All requests are served to Django via FastCgi and my nginx conf looks like this:
server {
Change
ADMIN_MEDIA_PREFIX
to wherever your media is. If you didn't copy the media, copy it from wherever django is stored, there's a media and admin directory.Similar question: Django admin has no style
Try adding the media aliases. I had the same problem when setting up an nginx proxy to Apache, and after adding the media aliases I solved the problem.
Here's a sample that I have in my an nginx site configuration file: