Re: DJANGO_SETTINGS_FILE

2017-04-09 Thread Luke Plant
On 09/04/17 16:16, Josh Smeaton wrote: So I think there are a few questions to go over. 1. What are the more successful strategies that work in the wild? (files in /etc/, PYTHONPATH, env vars, local_settings.py) 2. Are any of the above clearly superior? 3. Is this a serious problem that peo

Re: DJANGO_SETTINGS_FILE

2017-04-09 Thread James Pic
Thanks friends, of course Daniele for the backup, and also James for the advice of course now that my first emotional reaction is over - thanks for your tolerance. Thanks for reading pretty much everything I have on this subject, looking forward to read feedback from all django-dev contributors of

Re: assertRaises vs. assertRaisesMessage

2017-04-09 Thread Josh Smeaton
We throw lots of ValueErrors and TypeErrors rather than creating new exception types all over the place. There's definitely an argument to be made that different exception types can be created. But I know that I've definitely run afoul of believing I was testing one error (assertRaises) when I

Re: DJANGO_SETTINGS_FILE

2017-04-09 Thread Josh Smeaton
FWIW - I wasn't completely sure what the problem was you were relating or the solution you were proposing as a means to fix it. I came to this thread a bit late, and was probably overwhelmed by lots of text without reading and understand your first message in the thread well enough. The big rep