STATICFILES_DIRS = (
os.path.join(BASE_DIR, "static"),
)
Django’sSTATICFILES_FINDERS
setting contains a list of finders that know how to discover static files from various sources. One of the defaults isAppDirectoriesFinder
which looks for a “static” subdirectory in each of theINSTALLED_APPS
, like the one inpolls
we just created. The admin site uses the same directory structure for its static files.
--
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 django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
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.