News for hackers. Stuff that matters.
Re:Show HN: Django Admin Site Customization Tutorial by pdmccormick on Wednesday July 26, 2023 @08:51AM (#36876812)
After many years, I’ve come to the same conclusions and can heartily recommend these suggestions!

Another similar suggestion I’d add is make a settings module with a base collection of configuration (i.e. myproject/settings/common.py) that other deployment-specific dev.py & prod.py import from.

Basically, don’t forget that Django projects are always Python modules too, so go ahead and use those language features too.

There are no comments on this comment yet.