On Wed, Dec 18, 2013 at 12:57 PM, Harry Percival
wrote:
> Django's test runner overrides your settings to force DEBUG to be True,
> which I understand the intention behind, but it is occasionally annoying.
> One solution for those cases is to use `override_settings`, but that has
> very weird effe
On Thu, Dec 19, 2013 at 7:36 PM, Harry Percival wrote:
> Thanks gang.
>
> @Russell, I assume you meant set MEDIA_URL = "/media/"
>
Heh. Now we're even on really dumb typos :-)
> That works if I do it in settings.py. Interestingly, it doesn't work if I
> try and do it via override_settings?
>
Thanks gang.
@Russell, I assume you meant set MEDIA_URL = "/media/"
That works if I do it in settings.py. Interestingly, it doesn't work if I
try and do it via override_settings?
On Thursday, 19 December 2013 08:16:59 UTC, Aymeric Augustin wrote:
>
> On 19 déc. 2013, at 02:14, Russell Keith-
On 19 déc. 2013, at 02:14, Russell Keith-Magee wrote:
> The upside - If you add MEDIA_ROOT='/media/' to settings.py, the problem goes
> away, because it gives the media layer something to match against that won't
> catch all files.
I hit that issue a month ago and filed
https://code.djangopro
On Wed, Dec 18, 2013 at 11:57 PM, Harry Percival
wrote:
> Django's test runner overrides your settings to force DEBUG to be True,
> which I understand the intention behind, but it is occasionally annoying.
> One solution for those cases is to use `override_settings`, but that has
> very weird effe
Django's test runner overrides your settings to force DEBUG to be True,
which I understand the intention behind, but it is occasionally annoying.
One solution for those cases is to use `override_settings`, but that has
very weird effects when using `LiveServerTestCase`.
Minimal repro:
dja