On Monday, November 10, 2014 7:00:12 AM UTC-8, dpalao...@gmail.com wrote:
>
> Here comes the context. Sorry.
>
> On Monday, November 10, 2014 3:49:40 PM UTC+1, larry....@gmail.com wrote:
>>
>>
>> No, when you run syncdb it will not create or modify any existing 
>> tables, only create new ones. 
>>
>
> Again,  are the docs 
> <https://docs.djangoproject.com/en/1.7/ref/models/options/#managed> wrong?
>
> David
>




Did you read the doc part you posted? 

"For tests involving models with managed=False, it’s up to you to ensure 
the correct tables are created as part of the test setup."

This means that when you are testing you need to make sure that your 
testing code creates that table, the testing process will not do it for you.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6e046177-9ea2-4416-8185-bd61c25e91b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to