Clarified wording in docs/faq.txt. Thanks, Mike Coleman
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7a132e2754
commit
2ddc9504c3
|
@ -342,9 +342,9 @@ Using a ``FileField`` or an ``ImageField`` in a model takes a few steps:
|
|||
If I make changes to a model, how do I update the database?
|
||||
-----------------------------------------------------------
|
||||
|
||||
If you don't care about clearing data, just pipe the output of the
|
||||
appropriate ``django-admin.py sqlreset`` command into your database's
|
||||
command-line utility. For example::
|
||||
If you don't mind clearing data, just pipe the output of the appropriate
|
||||
``django-admin.py sqlreset`` command into your database's command-line utility.
|
||||
For example::
|
||||
|
||||
django-admin.py sqlreset appname | psql dbname
|
||||
|
||||
|
|
Loading…
Reference in New Issue