Ticket #11221: 11221.diff

File 11221.diff, 755 bytes (added by Chris Beaven, 15 years ago)
  • docs/ref/django-admin.txt

     
    611611
    612612Prints the SQL statements for resetting sequences for the given app name(s).
    613613
    614 See http://simon.incutio.com/archive/2004/04/21/postgres for more information.
     614Sequences are indexes used by some database engines to track the next available
     615number for automatically incremented fields (set up using the ``SERIAL``
     616keyword in the table creation statement).
    615617
     618Use this command to generate SQL which will fix cases where a sequence is out
     619of sync with its automatically incremented field data.
     620
    616621startapp <appname>
    617622------------------
    618623
Back to Top