Re: startproject values for STATICFILES_DIRS and TEMPLATES

2015-11-09 Thread Collin Anderson
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',

Re: startproject values for STATICFILES_DIRS and TEMPLATES

2015-11-08 Thread Aymeric Augustin
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

startproject values for STATICFILES_DIRS and TEMPLATES

2015-11-07 Thread René Fleschenberg
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,