diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py
index 55b993a..3f59aa1 100644
a
|
b
|
class NullBooleanField(Field):
|
1098 | 1098 | return super(NullBooleanField, self).formfield(**defaults) |
1099 | 1099 | |
1100 | 1100 | class PositiveIntegerField(IntegerField): |
1101 | | description = _("Integer") |
| 1101 | description = _("Positive integer") |
1102 | 1102 | |
1103 | 1103 | def get_internal_type(self): |
1104 | 1104 | return "PositiveIntegerField" |
… |
… |
class PositiveIntegerField(IntegerField):
|
1109 | 1109 | return super(PositiveIntegerField, self).formfield(**defaults) |
1110 | 1110 | |
1111 | 1111 | class PositiveSmallIntegerField(IntegerField): |
1112 | | description = _("Integer") |
| 1112 | description = _("Positive small integer") |
1113 | 1113 | def get_internal_type(self): |
1114 | 1114 | return "PositiveSmallIntegerField" |
1115 | 1115 | |
… |
… |
class PositiveSmallIntegerField(IntegerField):
|
1119 | 1119 | return super(PositiveSmallIntegerField, self).formfield(**defaults) |
1120 | 1120 | |
1121 | 1121 | class SlugField(CharField): |
1122 | | description = _("String (up to %(max_length)s)") |
| 1122 | description = _("Slug (up to %(max_length)s)") |
1123 | 1123 | def __init__(self, *args, **kwargs): |
1124 | 1124 | kwargs['max_length'] = kwargs.get('max_length', 50) |
1125 | 1125 | # Set db_index=True unless it's been set manually. |
… |
… |
class SlugField(CharField):
|
1136 | 1136 | return super(SlugField, self).formfield(**defaults) |
1137 | 1137 | |
1138 | 1138 | class SmallIntegerField(IntegerField): |
1139 | | description = _("Integer") |
| 1139 | description = _("Small integer") |
1140 | 1140 | |
1141 | 1141 | def get_internal_type(self): |
1142 | 1142 | return "SmallIntegerField" |
diff --git a/django/db/models/fields/files.py b/django/db/models/fields/files.py
index d4b1743..6f1f183 100644
a
|
b
|
class FileField(Field):
|
211 | 211 | # The descriptor to use for accessing the attribute off of the class. |
212 | 212 | descriptor_class = FileDescriptor |
213 | 213 | |
214 | | description = _("File path") |
| 214 | description = _("File") |
215 | 215 | |
216 | 216 | def __init__(self, verbose_name=None, name=None, upload_to='', storage=None, **kwargs): |
217 | 217 | for arg in ('primary_key', 'unique'): |
… |
… |
class ImageFieldFile(ImageFile, FieldFile):
|
318 | 318 | class ImageField(FileField): |
319 | 319 | attr_class = ImageFieldFile |
320 | 320 | descriptor_class = ImageFileDescriptor |
321 | | description = _("File path") |
| 321 | description = _("Image") |
322 | 322 | |
323 | 323 | def __init__(self, verbose_name=None, name=None, width_field=None, |
324 | 324 | height_field=None, **kwargs): |