[HN Gopher] Six things I do every time I start a Django project
___________________________________________________________________
Six things I do every time I start a Django project
Author : 8b16380d
Score : 46 points
Date : 2022-06-23 18:49 UTC (4 hours ago)
(HTM) web link (brntn.me)
(TXT) w3m dump (brntn.me)
| zmdgg wrote:
| all great bits of advice except the first.
|
| keep your secrets out of your environment! especially when you
| aren't providing any additional safety advice like making sure
| DEBUG is off
| ttymck wrote:
| Really sensible, straightforward recommendations. Nothing flashy.
|
| Honestly I think these should be defaults (or at least
| configurable options) of the project generator. I guess you could
| use cookiecutter, but it's not really worth it.
| hdlothia wrote:
| Good advice
| Apreche wrote:
| Reasonable. Personally I just made a template project to get
| everything off the ground in one step, even the production
| environment and repository.
|
| https://github.com/Apreche/djangogoboot
___________________________________________________________________
(page generated 2022-06-23 23:00 UTC)