Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Malcolm Tredinnick authored August 29, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/admin/options.py
2  django/contrib/admin/options.py
@@ -510,7 +510,7 @@ def add_view(self, request, form_url='', extra_context=None):
510 510
                 try:
511 511
                     f = opts.get_field(k)
512 512
                 except FieldDoesNotExist:
513  
-                    pass
  513
+                    continue
514 514
                 if isinstance(f, models.ManyToManyField):
515 515
                     initial[k] = initial[k].split(",")
516 516
             form = ModelForm(initial=initial)

0 notes on commit 71076ae

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