My basic problem is that I am trying to run a test that loads fixtures but
I want to modify some settings before the fixtures are loaded.
I tried adding override_settings decorator on the class but it does not see
to take effect before the fixtures are loaded.
I also posted the question here
Instead of buying the book I finally found a solution. I posted to the
original stackoverflow question:
http://stackoverflow.com/questions/18927935/what-is-the-order-of-execution-in-django-tests
On Saturday, September 21, 2013 7:47:58 PM UTC-4, Alex Thomas wrote:
>
> My basic problem i
I have already created a stackoverflow question on this and have only
received one (*incorrect*) response. For the sake of time I am just
linking that question which has all the details.
http://stackoverflow.com/questions/21151544/django-loaddata-with-natural-keys-not-querying-correct-forign-ke
I tried adding unique=True to voyage_id but that did not have any effect.
I later found somewhere in the docs that specifying in not necessary. So I
am still in the same situation.
On Thursday, January 23, 2014 4:03:34 PM UTC-5, Alex Thomas wrote:
>
> I have already created a stackov
I tried adding unique=True to voyage_id but that did not have any effect.
I later found somewhere in the docs that specifying is not necessary. So I
am still in the same situation.
On Thursday, January 23, 2014 4:03:34 PM UTC-5, Alex Thomas wrote:
>
> I have already created a stackov
5 matches
Mail list logo