Thanks a lot.
On 11/26/2011 09:51 AM, Chris Northwood wrote:
> On 25 November 2011 23:59, Gelonida N <gelonida@gmail.com> wrote:
>> As for testing the database is created from scratch and as migrations
>> are not really needed in this case I decided to disable south for
>> running tests.
>>
>> I just wondered whether there were alternative / more elegant ways.
>
> There's a setting built into South which does this:
> SOUTH_TESTS_MIGRATE
> [http://south.aeracode.org/docs/settings.html#south-tests-migrate]
>
I will use SOUTH_TESTS_MIGRATE=True.
This is nicer than my 'workaround'
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment