Ticket #5231: admin_docs.diff
File admin_docs.diff, 1.3 KB (added by , 17 years ago) |
---|
-
django/contrib/admindocs/views.py
291 291 DATA_TYPE_MAPPING = { 292 292 'AutoField' : _('Integer'), 293 293 'BooleanField' : _('Boolean (Either True or False)'), 294 'CharField' : _('String (up to %(max length)s)'),294 'CharField' : _('String (up to %(max_length)s)'), 295 295 'CommaSeparatedIntegerField': _('Comma-separated integers'), 296 296 'DateField' : _('Date (without time)'), 297 297 'DateTimeField' : _('Date (with time)'), 298 'DecimalField' : _('Decimal number'), 298 299 'EmailField' : _('E-mail address'), 299 300 'FileField' : _('File path'), 300 301 'FilePathField' : _('File path'), … … 309 310 'PhoneNumberField' : _('Phone number'), 310 311 'PositiveIntegerField' : _('Integer'), 311 312 'PositiveSmallIntegerField' : _('Integer'), 312 'SlugField' : _('String (up to %(max length)s)'),313 'SlugField' : _('String (up to %(max_length)s)'), 313 314 'SmallIntegerField' : _('Integer'), 314 315 'TextField' : _('Text'), 315 316 'TimeField' : _('Time'),