Hi and thanks Aemeric,

On Tue, Jun 27, 2017 at 7:55 AM, Aymeric Augustin
<[email protected]> wrote:
> Hello Melvyn,
>
>> On 26 Jun 2017, at 12:21, Melvyn Sopacua <[email protected]> wrote:
>>
>> keep STATIC_URL (which I rarely change) but remove STATIC_ROOT (which is 
>> different per project and sometimes even per install) is beyond me.
>

> Nowadays it's more common to serve static files from a third-party system 
> such as CloudFront + S3 which doesn't require STATIC_ROOT or with a 
> middleware like whitenoise which doesn't suffer from this concern. Only in 
> the latter case is `STATIC_ROOT = os.path.join(ROOT_DIR, 'static')` a valid 
> default.

Thanks, that clarifies it this specific setting (all though not all
prefer to use services that interfere with SSL trust). But...

> Given this range of options, I still find it best for users to think about 
> what they're doing, read the docs, hopefully review security considerations, 
> define the settings they need and understand their deployment. I also believe 
> that unused settings can be confusing and make it more difficult to diagnose 
> deployment problems.

... this is where we respectively disagree. While it's possible that
things may get clouded, you *can* in fact see what is set.

This:
# DEBUG = False

trumps this:
<empty line>

Also note that if you want things concise, it's much faster to "select
and delete" then "lookup name of setting, copy, paste and alter".

And finally, a diff will show what changed, as opposed to what was
added (which may or may not be a change of the default).

> I'm sure there's a more extensive project template somewhere that will suit 
> your needs better.

Yep, probably should do that and allocate time maintaining it.
-- 
Melvyn Sopacua

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CA%2Bgw1GXs6a4GKig%3DUkZFMZZ2v2gmzH1xwTWyKAtTLhwZpzkq0w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to