I'm doing the Django tutorial and got stuck on the static files 
section: 
https://docs.djangoproject.com/en/2.1/intro/tutorial06/#customize-your-app-s-look-and-feel
 

Could not get the style.css file to work despite triple-checking 
everything. 

After much research, I got it to work by adding this to settings.py:

STATICFILES_DIRS = (
    os.path.join(BASE_DIR, "static"),)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f5e58b12-a8d2-4ad2-983b-856895a91eb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to