From dd55b5e98ac7517f8a06b8f0d69c2a2d0fe2e1b2 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 22 May 2006 02:17:06 +0000 Subject: [PATCH] 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 --- django/contrib/admin/views/doc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/contrib/admin/views/doc.py b/django/contrib/admin/views/doc.py index a92222b886..cdafc3ee97 100644 --- a/django/contrib/admin/views/doc.py +++ b/django/contrib/admin/views/doc.py @@ -284,6 +284,7 @@ DATA_TYPE_MAPPING = { 'DateTimeField' : _('Date (with time)'), 'EmailField' : _('E-mail address'), 'FileField' : _('File path'), + 'FilePathField', : _('File path'), 'FloatField' : _('Decimal number'), 'ForeignKey' : _('Integer'), 'ImageField' : _('File path'),