From 71076ae299500df32a5b416c65099fde80657040 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Fri, 29 Aug 2008 18:12:31 +0000 Subject: [PATCH] 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 --- django/contrib/admin/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/options.py b/django/contrib/admin/options.py index c0cfc2fad61..aae143b86ec 100644 --- a/django/contrib/admin/options.py +++ b/django/contrib/admin/options.py @@ -510,7 +510,7 @@ class ModelAdmin(BaseModelAdmin): try: f = opts.get_field(k) except FieldDoesNotExist: - pass + continue if isinstance(f, models.ManyToManyField): initial[k] = initial[k].split(",") form = ModelForm(initial=initial)