diff options
| author | Daniel Hahler <git@thequod.de> | 2014-07-05 20:28:30 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-07-05 20:27:03 -0400 |
| commit | b6bfdacdae3241241eacc588354dac153a87b8e3 (patch) | |
| tree | b58e5732e285f68c570d57755cdbafcd31be6fd6 /docs/howto | |
| parent | 890a2d632e173edfd2b70854b72dfbd0e1a2d92b (diff) | |
[1.6.x] Fixed various minor doc typos / references.
Backport of 67f9f385aa from master
Diffstat (limited to 'docs/howto')
| -rw-r--r-- | docs/howto/custom-model-fields.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/howto/custom-model-fields.txt b/docs/howto/custom-model-fields.txt index 29c6f7dd3e..f81e58b468 100644 --- a/docs/howto/custom-model-fields.txt +++ b/docs/howto/custom-model-fields.txt @@ -691,7 +691,7 @@ 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 -``django.db.backends.<db_name>.creation.DATA_TYPES`` -- the string will still be +``django.db.backends.<db_name>.creation.data_types`` -- the string will still be used by the serializer, but the default :meth:`.db_type` method will return ``None``. See the documentation of :meth:`.db_type` for reasons why this might be useful. Putting a descriptive string in as the type of the field for the |
