Author: russellm
Date: 2007-08-24 06:39:20 -0500 (Fri, 24 Aug 2007)
New Revision: 5996

Modified:
   django/branches/newforms-admin/AUTHORS
   django/branches/newforms-admin/django/contrib/admindocs/views.py
Log:
newforms-admin: Fixed #5231 -- Corrected some entries in the admindocs views to 
point to new and changed datatypes. Thansk, Matthias Pronk <[EMAIL PROTECTED]>


Modified: django/branches/newforms-admin/AUTHORS
===================================================================
--- django/branches/newforms-admin/AUTHORS      2007-08-24 03:53:04 UTC (rev 
5995)
+++ django/branches/newforms-admin/AUTHORS      2007-08-24 11:39:20 UTC (rev 
5996)
@@ -227,6 +227,7 @@
     plisk
     Daniel Poelzleithner <http://poelzi.org/>
     [EMAIL PROTECTED]
+    Matthias Pronk <[EMAIL PROTECTED]>
     Johann Queuniet <[EMAIL PROTECTED]>
     J. Rademaker
     Michael Radziej <[EMAIL PROTECTED]>

Modified: django/branches/newforms-admin/django/contrib/admindocs/views.py
===================================================================
--- django/branches/newforms-admin/django/contrib/admindocs/views.py    
2007-08-24 03:53:04 UTC (rev 5995)
+++ django/branches/newforms-admin/django/contrib/admindocs/views.py    
2007-08-24 11:39:20 UTC (rev 5996)
@@ -291,14 +291,15 @@
 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 @@
     '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'),


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to