#6034: Add boolean option 'load_fixtures' to the django command 'syncdb',
default
value is True.
---------------------------------+------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: closed | Component: django-admin.py
Version: SVN | Resolution: wontfix
Keywords: syncdb | Stage: Unreviewed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
---------------------------------+------------------------------------------
Comment (by [EMAIL PROTECTED]):
The problem is that if you create a model in, for example, doctest,
call_command('sync') will do a commit to database after loading fixtures.
We use rollback instead of flush, so it cause problem.
--
Ticket URL: <http://code.djangoproject.com/ticket/6034#comment:2>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---