Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit dd55b5e98ac7517f8a06b8f0d69c2a2d0fe2e1b2 1 parent d9aaa1c
Adrian Holovaty adrianholovaty authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/contrib/admin/views/doc.py
1  django/contrib/admin/views/doc.py
View
@@ -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'),
Please sign in to comment.
Something went wrong with that request. Please try again.