0
0
mirror of https://github.com/django/django.git synced 2024-11-29 22:56:46 +01:00
django/tests/admin_views
Christopher Adams eefc88feef Fixed #2445 -- Allowed limit_choices_to attribute to be a callable.
ForeignKey or ManyToManyField attribute ``limit_choices_to`` can now
be a callable that returns either a ``Q`` object or a dict.

Thanks michael at actrix.gen.nz for the original suggestion.
2014-02-11 14:05:12 -05:00
..
fixtures Fixed #8261 -- ModelAdmin hook for customising the "show on site" button 2013-10-29 17:10:12 -04:00
templates Fixed #21371 -- Added the block.super to admin bodyclass blocks. 2014-02-10 09:13:29 -05:00
__init__.py
admin.py Fixed #2445 -- Allowed limit_choices_to attribute to be a callable. 2014-02-11 14:05:12 -05:00
customadmin.py Fixed all E261 warnings 2013-11-02 23:50:33 -05:00
forms.py
models.py Fixed #2445 -- Allowed limit_choices_to attribute to be a callable. 2014-02-11 14:05:12 -05:00
tests.py Fixed #2445 -- Allowed limit_choices_to attribute to be a callable. 2014-02-11 14:05:12 -05:00
urls.py Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
views.py PEP8 cleanup 2013-11-02 23:50:49 -05:00