Hi Rishi,
STATIC_ROOT, STATIC_URL, etc. are somewhat new additions to Django. I have troubles with the documentation myself because the new ones describing them are in English :). But I think everything that they considered static - javascript, css, img, and other media were to be inside a directory tree defined by the MEDIA* variable.
Recently, they separated that into both MEDIA and STATIC variables. I may be wrong, but I think now they encourage MEDIA to be things like user-uploaded files, such as music, video, etc. files, and STATIC now should point to js, css, and img.
I have seen documentations referring to usage of STATIC variables, but I read two paragraphs and fall asleep :)
As for the alias directive not working. Can you try issuing:
You should see a css file on your browser. If you get an error, it means that the web server is not able to find the file, which is required to render the admin pages correctly (along with the required js, and img directories as well).
Even though you type:
to get to your admin panel. The subsequent pages will (through the definitions I suggested above in the settings file) try to locate the necessary js,css,img files using the '/static/admin/' prefix.
Good luck!
You received this message because you are subscribed to the Google Groups "Django users" group.