mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Removed the deprecated reset and sqlreset management commands.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
dec21a1d4b
commit
d38690796c
8 changed files with 6 additions and 144 deletions
|
@ -484,25 +484,6 @@ Use the ``--no-location`` option to not write '``#: filename:line``'
|
|||
comment lines in language files. Note that using this option makes it harder
|
||||
for technically skilled translators to understand each message's context.
|
||||
|
||||
reset <appname appname ...>
|
||||
---------------------------
|
||||
|
||||
.. deprecated:: 1.3
|
||||
This command has been deprecated. The ``flush`` can be used to delete
|
||||
everything. You can also use ALTER TABLE or DROP TABLE statements manually.
|
||||
|
||||
.. django-admin:: reset
|
||||
|
||||
Executes the equivalent of ``sqlreset`` for the given app name(s).
|
||||
|
||||
The :djadminopt:`--noinput` option may be provided to suppress all user
|
||||
prompts.
|
||||
|
||||
.. versionadded:: 1.2
|
||||
|
||||
The :djadminopt:`--database` option can be used to specify the alias
|
||||
of the database to reset.
|
||||
|
||||
runfcgi [options]
|
||||
-----------------
|
||||
|
||||
|
@ -874,22 +855,6 @@ Prints the CREATE INDEX SQL statements for the given app name(s).
|
|||
The :djadminopt:`--database` option can be used to specify the database for
|
||||
which to print the SQL.
|
||||
|
||||
sqlreset <appname appname ...>
|
||||
------------------------------
|
||||
|
||||
.. deprecated:: 1.3
|
||||
This command has been deprecated. The ``sqlflush`` can be used to delete
|
||||
everything. You can also use ALTER TABLE or DROP TABLE statements manually.
|
||||
|
||||
.. django-admin:: sqlreset
|
||||
|
||||
Prints the DROP TABLE SQL, then the CREATE TABLE SQL, for the given app name(s).
|
||||
|
||||
.. versionadded:: 1.2
|
||||
|
||||
The :djadminopt:`--database` option can be used to specify the database for
|
||||
which to print the SQL.
|
||||
|
||||
sqlsequencereset <appname appname ...>
|
||||
--------------------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue