Author: mtredinnick
Date: 2008-08-29 13:12:31 -0500 (Fri, 29 Aug 2008)
New Revision: 8714

Modified:
   django/trunk/django/contrib/admin/options.py
Log:
Fixed some edge-case error handling from [8699]. Thanks, gkelly.


Modified: django/trunk/django/contrib/admin/options.py
===================================================================
--- django/trunk/django/contrib/admin/options.py        2008-08-29 18:09:10 UTC 
(rev 8713)
+++ django/trunk/django/contrib/admin/options.py        2008-08-29 18:12:31 UTC 
(rev 8714)
@@ -510,7 +510,7 @@
                 try:
                     f = opts.get_field(k)
                 except FieldDoesNotExist:
-                    pass
+                    continue
                 if isinstance(f, models.ManyToManyField):
                     initial[k] = initial[k].split(",")
             form = ModelForm(initial=initial)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to