diff options
| author | Simon Willison <simon@simonwillison.net> | 2008-09-03 15:35:58 +0000 |
|---|---|---|
| committer | Simon Willison <simon@simonwillison.net> | 2008-09-03 15:35:58 +0000 |
| commit | cd5a00b4e495ec05f56fae1cb6f944c758ba6185 (patch) | |
| tree | 44ebb8d42fa95b7370617f1ce0adc3e9979799ab /docs | |
| parent | c164305d7cf3379adcccacdb4ed36a73600a3d1a (diff) | |
Fixed #8838 - two typos in model field docs. Thanks, arien
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/fields.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index 97ca83aa52..4b36d1e829 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -585,7 +585,7 @@ development version. See the `Django 0.96 documentation`_ for the old behavior. ``ImageField`` -------------- -.. class:: ImageField(upload_to-None, [height_field=None, width_field=None, max_length=100, **options]) +.. class:: ImageField(upload_to=None, [height_field=None, width_field=None, max_length=100, **options]) Like :class:`FileField`, but validates that the uploaded object is a valid image. Has two extra optional arguments: @@ -650,7 +650,7 @@ Like an :class:`IntegerField`, but must be positive. ``PositiveSmallIntegerField`` ----------------------------- -.. class:: PositiveIntegerField([**options]) +.. class:: PositiveSmallIntegerField([**options]) Like a :class:`PositiveIntegerField`, but only allows values under a certain (database-dependent) point. |
