KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've having a little issue with Django's staticfiles app . I have added 'django.contrib.staticfiles', to my INSTALLED_APPS and have added STATIC_URL = '/static/' STATIC_ROOT = '/Users/kevdotbadger/django/mylook/static/' to my settings.py file. All my static files are located within the STATIC_ROOT folder on my Mac. Now, within my template I use {{ STATIC_URL }} which correctly renders to /static/ . However {{ STATIC_URL }}css/style.css result in a 404 error. I'm using the 'runserver' command as the server. Is there something I'm missing?
Tags (comma-separated)
Save Edits
Cancel