[TIP] Testing programs that are intended to be distributed in public repos but which need non-public information in order to work
Laura Creighton
lac at openend.se
Sat Aug 27 05:20:45 PDT 2011
In a message of Sat, 27 Aug 2011 07:50:24 EDT, Tom Davis writes:
>Maybe I'm missing something obvious that makes this a non-starter, but the
>standard convention in Django is to have settings.py and local_settings.py,
>where the former imports everything from the latter in a try/except at the
>bottom of the module.
Ah, no, I am the person who started writing her first Django app about
3 days ago, and seem to have missed that bit in the docs. Thank you
very, very much.
Laura
More information about the testing-in-python
mailing list