mirror of
https://github.com/django/django.git
synced 2025-07-04 17:59:13 +00:00
newforms-admin: Fixed #5231 -- Corrected some entries in the admindocs views to point to new and changed datatypes. Thansk, Matthias Pronk <django@masida.nl>
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@5996 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
88987ed0ac
commit
4a2abd003d
1
AUTHORS
1
AUTHORS
@ -227,6 +227,7 @@ answer newbie questions, and generally made Django that much better:
|
||||
plisk
|
||||
Daniel Poelzleithner <http://poelzi.org/>
|
||||
polpak@yahoo.com
|
||||
Matthias Pronk <django@masida.nl>
|
||||
Johann Queuniet <johann.queuniet@adh.naellia.eu>
|
||||
J. Rademaker
|
||||
Michael Radziej <mir@noris.de>
|
||||
|
@ -291,14 +291,15 @@ def get_return_data_type(func_name):
|
||||
DATA_TYPE_MAPPING = {
|
||||
'AutoField' : _('Integer'),
|
||||
'BooleanField' : _('Boolean (Either True or False)'),
|
||||
'CharField' : _('String (up to %(maxlength)s)'),
|
||||
'CharField' : _('String (up to %(max_length)s)'),
|
||||
'CommaSeparatedIntegerField': _('Comma-separated integers'),
|
||||
'DateField' : _('Date (without time)'),
|
||||
'DateTimeField' : _('Date (with time)'),
|
||||
'DecimalField' : _('Decimal number'),
|
||||
'EmailField' : _('E-mail address'),
|
||||
'FileField' : _('File path'),
|
||||
'FilePathField' : _('File path'),
|
||||
'FloatField' : _('Decimal number'),
|
||||
'FloatField' : _('Floating point number'),
|
||||
'ForeignKey' : _('Integer'),
|
||||
'ImageField' : _('File path'),
|
||||
'IntegerField' : _('Integer'),
|
||||
@ -309,7 +310,7 @@ DATA_TYPE_MAPPING = {
|
||||
'PhoneNumberField' : _('Phone number'),
|
||||
'PositiveIntegerField' : _('Integer'),
|
||||
'PositiveSmallIntegerField' : _('Integer'),
|
||||
'SlugField' : _('String (up to %(maxlength)s)'),
|
||||
'SlugField' : _('String (up to %(max_length)s)'),
|
||||
'SmallIntegerField' : _('Integer'),
|
||||
'TextField' : _('Text'),
|
||||
'TimeField' : _('Time'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user