Fixed #21479 -- Favor 'migrate' over 'syncdb' in the docs.

This commit is contained in:
Loic Bistuer 2013-11-21 21:04:31 +07:00 committed by Baptiste Mispelon
parent b6a6cf4ab7
commit 27f04e79b1
9 changed files with 34 additions and 33 deletions

View file

@ -676,8 +676,9 @@ For example::
def get_internal_type(self):
return 'CharField'
No matter which database backend we are using, this will mean that ``syncdb``
and other SQL commands create the right column type for storing a string.
No matter which database backend we are using, this will mean that
:djadmin:`migrate` and other SQL commands create the right column type for
storing a string.
If :meth:`.get_internal_type` returns a string that is not known to Django for
the database backend you are using -- that is, it doesn't appear in