Hey everyone, Yes, this is yet another plea for help on configuring the dev server for static media.
[insert disclaimer here about reading (and re-reading) docs, countless tutorials, etc.] I believe I have everything set up correctly, yet I can't seem to get Django to serve static media on my dev server. The admin site works flawlessly, but none of my own css will serve properly. I can reach my static media files at: http://localhost:8000/static/css/base_test.css/ On my django page, I use the following link: <link rel="stylesheet/css" href="/static/css/base_test.css" type="text/ css" /> But no dice. None of the styling rules are applied. Below I've included my directory structure and relevant settings. Can someone point out the stupid mistake that's driving me to the border of insanity?? /project settings.py urls.py /app1 /static /css base_test.css /templates base_test.html /app1 app1_section.html (extends base) -----settings.py----- MEDIA_ROOT = '/home/user/web/project/static' MEDIA_URL = '/static/' ADMIN_MEDIA_PREFIX = '/static/admin/' ----urls.py----- import os from django.conf import settings if settings.DEBUG: urlpatterns += patterns('', (r'^static/(.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}), ) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---