It seems that I can't configure django admin site to server static media (css in this case) and the admin site is shown in plain black white and blue text. I have followed these instructions
(of course I changed <username> to my alias and <django_application> to my application
I named my application "admin" and created the symbolic link as instructed. I also configured settings.py like this:
What am I doing wrong?
asked Feb 09 '11 at 07:07
This is the way I resolved static media serve.
First I create a "Symbolic link to static-only app" and name for example "project_adminmedia" and in the extra info field I put ~/path/to/project/lib/python2.6/django/contrib/admin/media/.
Then in the site I add the app "project_adminmedia" with the url "/admin/media"
Finally in the settings.py file: ADMIN_MEDIA_PREFIX = 'http://www.siteurl/admin/media/'
Doing this I'm getting the admin media served succesfully. I hope I hasn't forget anything, and expect that my answer helps you.
Sorry for my english but I'm from Argentina.
answered Feb 09 '11 at 15:12
I add the app "project_adminmedia" with the url "/admin/media"
In the file settings.py file:
'ADMIN_MEDIA_PREFIX = '/admin/media/'
It's working now!!!!
answered Apr 04 '11 at 18:33