Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed some edge-case error handling from [8699]. Thanks, gkelly.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 71076ae299500df32a5b416c65099fde80657040 1 parent ef7f61a
@malcolmt malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/options.py
View
2  django/contrib/admin/options.py
@@ -510,7 +510,7 @@ def add_view(self, request, form_url='', extra_context=None):
try:
f = opts.get_field(k)
except FieldDoesNotExist:
- pass
+ continue
if isinstance(f, models.ManyToManyField):
initial[k] = initial[k].split(",")
form = ModelForm(initial=initial)

0 comments on commit 71076ae

Please sign in to comment.
Something went wrong with that request. Please try again.