summaryrefslogtreecommitdiff
path: root/docs/faq.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-09-01 21:51:01 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-09-01 21:51:01 +0000
commitf4547bfbfddfc3145591debf5ab19c5c0abbfa33 (patch)
tree23927d6973f89f8212c5fd2b1c3e368a0fd25b2c /docs/faq.txt
parent8c83f2ab300c82e7856da3bf6bcdaf087f89e80d (diff)
Added clarification to [594]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/faq.txt')
-rw-r--r--docs/faq.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/faq.txt b/docs/faq.txt
index 69991d4954..10a98630eb 100644
--- a/docs/faq.txt
+++ b/docs/faq.txt
@@ -276,6 +276,11 @@ If you don't care about clearing data, just do this::
That "psql" assumes you're using PostgreSQL. If you're using MySQL, use the
appropriate command-line utility, ``mysql``.
+``django-admin.py sqlreset`` outputs SQL that clears the app's database
+table(s) and creates new ones. The above command uses a Unix pipe to send the
+SQL directly to the PostgreSQL command-line utility, which accepts SQL as
+input.
+
If you do care about deleting data, you'll have to execute the ``ALTER TABLE``
statements manually in your database. That's the way we've always done it,
because dealing with data is a very sensitive operation that we've wanted to