[PATCH 1/2] settings: Add django.contrib.staticfiles to the project

Jeremy Kerr jk at ozlabs.org
Mon Nov 10 23:38:23 AEDT 2014


Hi Damien,

> This is needes to serve the admin static files.

Hm, not really. In production, the static files should be served 
directly through the web server, not through the django app. By all 
means, we should include instructions for configuring django to do so, 
but this shouldn't be in the default installation setup.

Same applies to the django toolbar - this shouldn't be in the default 
settings.py file, as this'll get likely be used as-is in a production 
environment.

Cheers,


Jeremy


More information about the Patchwork mailing list