#18051: flatten_fieldsets error ------------------------------------+-------------------- Reporter: riccardodivirgilio | Owner: nobody Type: Uncategorized | Status: new Component: contrib.admin | Version: 1.4 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 ------------------------------------+-------------------- hi when flattening fieldsets django checks if a fieldset has a line
if type(field) == tuple: i've got a lot of errors because i often generate fieldsets from code, and sometime i must use list to declare lines. maybe to avoid list problems it's better to change this line of code to if type(field) in (tuple, list): -- Ticket URL: <https://code.djangoproject.com/ticket/18051> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.