Skip to content

Commit dd55b5e

Browse files
Fixed #1835 -- FilePathField no longer breaks admin model documentation. Thanks, Adam Endicott
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent d9aaa1c commit dd55b5e

File tree

1 file changed

+1
-0
lines changed
  • django/contrib/admin/views

1 file changed

+1
-0
lines changed

django/contrib/admin/views/doc.py

+1
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ def get_return_data_type(func_name):
284284
'DateTimeField' : _('Date (with time)'),
285285
'EmailField' : _('E-mail address'),
286286
'FileField' : _('File path'),
287+
'FilePathField', : _('File path'),
287288
'FloatField' : _('Decimal number'),
288289
'ForeignKey' : _('Integer'),
289290
'ImageField' : _('File path'),

0 commit comments

Comments
 (0)