#8348: Feature request: -n/--no-act option to syncdb
--------------------------------------+-------------------------------------
Reporter: kcarnold | Owner: graham_king
Status: assigned | Milestone: post-1.0
Component: django-admin.py | Version: SVN
Resolution: | Keywords: syncdb
Stage: Accepted | Has_patch: 1
Needs_docs: 1 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by graham_king):
* needs_docs: 0 => 1
* stage: Design decision needed => Accepted
Comment:
Apologies for taking so long to get back to this, and thanks for the
suggestion kcarnold.
The 8343-prompt patch adds a '--prompt' option to syncdb ('interactive'
already means something different to syncdb), which will display each line
of SQL and ask for confirmation before executing it.
It works by wrapping the cursor in a CursorInteractiveWrapper, which is
similar to the CursorDebugWrapper.
--
Ticket URL: <http://code.djangoproject.com/ticket/8348#comment:7>
Django <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
-~----------~----~----~----~------~----~------~--~---