I wouldn't mind having these in the project template. They're already the
example values in the docs. It could make it slightly easier for beginners.
STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')]
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
Hello René,
The current built-in projet template is designed to provide the minimal set of
settings required for a functional admin and a good level of security. (A few
months ago I would have just said "a functional admin", but a new setting was
added since then.)
As far as I can tell, the main
Hi,
It is quite common to configure TEMPLATES and STATICFILES_DIRS such that you
can override the templates and static files of installed apps from some
central location.
Maybe startproject should actually generate settings to do this by default?
STATICFILES_DIRS = (
os.path.join(BASE_DIR,