summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2010-12-12 22:58:25 +0000
committerJannis Leidel <jannis@leidel.info>2010-12-12 22:58:25 +0000
commita03a8adb3e46a2df78de604340e729766ae2c18a (patch)
tree46b3e79ad8d42f69cbce245b03074f1af16b02de /docs
parent3d35ac786800ddcea3b2cb59d04a29fb25636155 (diff)
Fixed #14268 -- Start the deprecation of the reset and sqlreset management command. Thanks, Carl.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/deprecation.txt3
-rw-r--r--docs/ref/django-admin.txt8
-rw-r--r--docs/releases/1.3.txt7
3 files changed, 18 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index 1f5758c877..4cd4807188 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -136,6 +136,9 @@ their deprecation, as per the :ref:`Django deprecation policy
template variable, not an implied string. The new-style
behavior is provided in the ``future`` template tag library.
+ * The :djadmin:`reset` and :djadmin:`sqlreset` management commands
+ are deprecated.
+
* 2.0
* ``django.views.defaults.shortcut()``. This function has been moved
to ``django.contrib.contenttypes.views.shortcut()`` as part of the
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 821b37fc5a..37e12c4cd8 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -491,6 +491,10 @@ several lines in language files.
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).
@@ -844,6 +848,10 @@ 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).
diff --git a/docs/releases/1.3.txt b/docs/releases/1.3.txt
index 0c2dedc481..f1a33b434c 100644
--- a/docs/releases/1.3.txt
+++ b/docs/releases/1.3.txt
@@ -468,3 +468,10 @@ in favor of a new :attr:`~django.contrib.admin.AdminSite.login_form`
attribute.
.. _r12634: http://code.djangoproject.com/changeset/12634
+
+``reset`` and ``sqlreset`` management commands
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Those commands have been deprecated. The ``flush`` and ``sqlflush`` commands
+can be used to delete everything. You can also use ALTER TABLE or DROP TABLE
+statements manually.