mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #21479 -- Favor 'migrate' over 'syncdb' in the docs.
This commit is contained in:
parent
b6a6cf4ab7
commit
27f04e79b1
9 changed files with 34 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue