--
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+unsubscribe@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/eae9ab3b-8a2b-49ae-ae24-c837545af7ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello,
You might find my drawings on how django static files work in production helpful. Unfortunately they are only for nginx and apache, but the same principles apply to IIS.
Regards,
Antonis
Antonis Christofides http://djangodeployment.com
--
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.
Thanks. The diagram clarified what I'd already thought to a degree, although I'd gotten confused by the warning in the documentation for STATIC_ROOT, which says
finders
, which by default, are 'static/'
app sub-directories and any directories you include in STATICFILES_DIRS
).from django.conf import settings from django.conf.urls.static import static urlpatterns = [ # ... the rest of your URLconf goes here ... ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)