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, 'static'),
)

Or maybe:

STATICFILES_DIRS = (
    os.path.join(BASE_DIR, 'mysite', 'static'),
)

In my experience, this is a real pain point for beginners, and doing this 
shouldn't hurt anyone. What do you think?

Also, do you think that templates and static files should be treated 
differently in this regard? The docs currently suggest such a configuration 
for static files, but not for templates. I'd argue that it's more important 
for templates, but it cannot harm to do it for both.

-- 
René Fleschenberg

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/8237964.u2MXdYcyU2%40rex.
For more options, visit https://groups.google.com/d/optout.

Reply via email to