I am currently working on linking my CSS files to my Django Project but I seem to be encountering errors along the way.
This is what my settings file looks like:
STATICFILES_FINDERS = (
'/Users/IMAC/work3/Blog/Blog/polls/static',
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
# 'django.contrib.staticfiles.finders.DefaultStorageFinder',
)
STATIC_ROOT = ''
STATIC_URL = '/Users/IMAC/work3/Blog/Blog/polls/static'
This is how my HTML file appears:
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="{{ STATIC_URL }}gameserver.css">
Here's a glimpse of my CSS file:
#tuna{color:red;}
body {background-color:blue;}
Do I need to modify anything else in particular? Where might I have made an error? I'm struggling to pinpoint exactly where...
Should my static folder reside within the app or should it be placed in the same directory as the app?