If you take a look at this gist provided by a Udemy instructor and at this specific location <https://gist.github.com/bradtraversy/cfa565b879ff1458dba08f423cb01d71#local-settings-setup>, here he wisely recommends separating important local development configuration parameters, such as SECRET _KEY. Of course everyone knows how stupid and foolish it would be to share the SECRET_KEY publicly on GitHub and then to use it in your production environment.
On Sat, Mar 16, 2019, 3:15 AM drone4four <[email protected]> wrote: > If you take a look at this gist provided by a Udemy instructor and at > this specific location > <https://gist.github.com/bradtraversy/cfa565b879ff1458dba08f423cb01d71#local-settings-setup>, > here he wisely recommends separating important local development > configuration parameters, such as SECRET _KEY. Of course everyone knows how > stupid and foolish it would be to share the SECRET_KEY publicly on GitHub > and then to use it in your production environment. > > > So here is the list of parameters to place in the separate remote > settings.py as it appears in that gist linked to above: > > > - > > SECRET_KEY > - > > ALLOWED_HOSTS > - > > DATABASES > - > > DEBUG > - > > EMAIL_* > > > If you look at the last one, it says: “EMAIL_*”. What do you people think > the “_*” suffix? Is this standard for settings.py configurations? Or would > you people think this is just a glaring typo on the side of the instructor? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" 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-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/fa499e85-b7cd-43a1-b21a-e8d6c665e498%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/fa499e85-b7cd-43a1-b21a-e8d6c665e498%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" 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-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOz9w2G6suWzNradmmKoYbqLuhjkqHZyp9B999sWhSZQFLBrbA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

