Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #17511 - Removed reference to deprecated "reset" management com…

…mand in FAQ; thanks voxpuibr@ for the report.
  • Loading branch information...
commit c8928b91b515c0712bdb633c1d1b2656b80baff8 1 parent 1cf8287
authored June 20, 2012
11  docs/faq/models.txt
@@ -40,18 +40,15 @@ Yes. See :doc:`Integrating with a legacy database </howto/legacy-databases>`.
40 40
 If I make changes to a model, how do I update the database?
41 41
 -----------------------------------------------------------
42 42
 
43  
-If you don't mind clearing data, your project's ``manage.py`` utility has an
44  
-option to reset the SQL for a particular application::
45  
-
46  
-    manage.py reset appname
47  
-
48  
-This drops any tables associated with ``appname`` and recreates them.
  43
+If you don't mind clearing data, your project's ``manage.py`` utility has a
  44
+:djadmin:`flush` option to reset the database to the state it was in
  45
+immediately after :djadmin:`syncdb` was executed.
49 46
 
50 47
 If you do care about deleting data, you'll have to execute the ``ALTER TABLE``
51 48
 statements manually in your database.
52 49
 
53 50
 There are `external projects which handle schema updates
54  
-<http://djangopackages.com/grids/g/database-migration/>`_, of which the current
  51
+<http://www.djangopackages.com/grids/g/database-migration/>`_, of which the current
55 52
 defacto standard is `south <http://south.aeracode.org/>`_.
56 53
 
57 54
 Do Django models support multiple-column primary keys?
4  docs/ref/django-admin.txt
@@ -224,8 +224,8 @@ flush
224 224
 
225 225
 .. django-admin:: flush
226 226
 
227  
-Returns the database to the state it was in immediately after syncdb was
228  
-executed. This means that all data will be removed from the database, any
  227
+Returns the database to the state it was in immediately after :djadmin:`syncdb`
  228
+was executed. This means that all data will be removed from the database, any
229 229
 post-synchronization handlers will be re-executed, and the ``initial_data``
230 230
 fixture will be re-installed.
231 231
 

0 notes on commit c8928b9

Please sign in to comment.
Something went wrong with that request. Please try again.