Re: Changing MEDIA_ROOT while running tests (as in ./manage.py test)

2009-04-22 Thread J . Pablo Fernández
On Apr 22, 9:46 pm, Phil Mocek wrote: > On Wed, Apr 22, 2009 at 12:22:08PM -0700, J. Pablo Fern?ndez wrote: > > I already know about how to separate settings between development and > > production; but that's not what I'm trying to do and I couldn't find > > how to adapt for separating settings

Re: Changing MEDIA_ROOT while running tests (as in ./manage.py test)

2009-04-22 Thread J . Pablo Fernández
On Apr 22, 10:13 pm, Phil Mocek wrote: > On Wed, Apr 22, 2009 at 12:46:32PM -0700, Phil Mocek wrote: > > [What you've repeatedly asked is] explained in the Django > > settings documentation that I referenced earlier, that you > > apparently did not read before asking your question or after I >

Re: Changing MEDIA_ROOT while running tests (as in ./manage.py test)

2009-04-22 Thread Phil Mocek
On Wed, Apr 22, 2009 at 12:46:32PM -0700, Phil Mocek wrote: > [What you've repeatedly asked is] explained in the Django > settings documentation that I referenced earlier, that you > apparently did not read before asking your question or after I > helpfully suggested that you read it. It's also e

Re: Changing MEDIA_ROOT while running tests (as in ./manage.py test)

2009-04-22 Thread Phil Mocek
On Wed, Apr 22, 2009 at 12:22:08PM -0700, J. Pablo Fern?ndez wrote: > I already know about how to separate settings between development and > production; but that's not what I'm trying to do and I couldn't find > how to adapt for separating settings between development and > test-time. That is, I

Re: Changing MEDIA_ROOT while running tests (as in ./manage.py test)

2009-04-22 Thread J . Pablo Fernández
Hello Phil, Thanks for the answer. I already know about how to separate settings between development and production; but that's not what I'm trying to do and I couldn't find how to adapt for separating settings between development and test-time. That is, I haven't found any way to make './ manage

Re: Changing MEDIA_ROOT while running tests (as in ./manage.py test)

2009-04-22 Thread Phil Mocek
On Tue, Apr 21, 2009 at 11:29:38PM -0700, J. Pablo Fern?ndez wrote: > I need to change MEDIA_ROOT while running tests, so that the files > pointed to in fixtures in ImageFields can be found. [...] Any ideas > how can I achieve this? I assume you've already searched the Web with terms like "django