1
0
mirror of https://github.com/django/django.git synced 2025-03-06 15:32:33 +00:00
Aaron France 23b781cc3d Fixed #22018 -- Fixed checks for ModelAdmin.fields not handling sub-lists.
Flatten a level of sublists before checking for duplicate fields.

When given sublists such as:

```python

class FooAdmin(admin.ModelAdmin):
    fields = ('one', ('one', 'two'))
```

The previous code did not correctly detect the duplicated 'one' field.

Thanks to jwa for the report.
2014-02-15 15:01:44 +01:00
..
2013-11-02 23:50:49 -05:00
2013-11-22 09:10:18 -08:00
2013-12-24 12:25:17 +01:00
2013-12-24 12:25:17 +01:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-12-10 15:12:48 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-12-10 15:12:48 -05:00
2013-11-03 10:17:58 -08:00
2013-11-02 23:50:49 -05:00
2013-11-28 08:50:11 -05:00
2013-11-02 23:50:49 -05:00
2013-12-10 15:12:48 -05:00
2013-11-02 23:50:49 -05:00
2013-12-10 15:12:48 -05:00
2013-11-02 23:50:49 -05:00
2014-01-27 22:02:07 +01:00
2013-11-02 23:50:49 -05:00
2013-11-03 10:08:55 -08:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-12-10 15:12:48 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-12-14 11:59:15 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-12-25 12:18:14 -05:00
2013-11-02 23:50:38 -05:00
2013-11-02 23:50:38 -05:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2013-12-24 12:25:17 +01:00
2013-11-03 10:17:58 -08:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2013-12-14 11:59:15 -05:00
2013-11-02 23:48:47 -05:00
2013-12-14 11:59:15 -05:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2013-12-17 11:16:48 +01:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2014-02-01 19:42:41 +01:00
2013-02-26 10:00:14 +01:00