Permalink
Browse files

Fixed #1835 -- FilePathField no longer breaks admin model documentati…

…on. Thanks, Adam Endicott

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent d9aaa1c commit dd55b5e98ac7517f8a06b8f0d69c2a2d0fe2e1b2 @adrianholovaty adrianholovaty committed May 22, 2006
Showing with 1 addition and 0 deletions.
  1. +1 −0 django/contrib/admin/views/doc.py
View
1 django/contrib/admin/views/doc.py
@@ -284,6 +284,7 @@ def get_return_data_type(func_name):
'DateTimeField' : _('Date (with time)'),
'EmailField' : _('E-mail address'),
'FileField' : _('File path'),
+ 'FilePathField', : _('File path'),
'FloatField' : _('Decimal number'),
'ForeignKey' : _('Integer'),
'ImageField' : _('File path'),

0 comments on commit dd55b5e

Please sign in to comment.