Jon Dufresne
13d60298ea
[1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite.
...
Backport of 4f336f6652
from master
2016-06-16 14:21:14 -04:00
Vincenzo Pandolfo
069319396f
Fixed #26277 -- Added support for null values in ChoicesFieldListFilter.
2016-05-12 12:40:14 -04:00
Blake Griffith
5fdbd9e36c
Changed gypsy to manouche in docs and tests.
...
"Gypsy" is considered a slur by the Romani people whom it refers to.
"manouche jazz" is used in place of "gypsy jazz" and is an accepted
term for the same genre of music.
2016-02-03 09:45:30 -05:00
rynomster
468d8211df
Fixed #23971 -- Added "Has date"/"No date" choices for DateFieldListFilter.
2016-02-02 12:04:14 -05:00
Hasan
26ad01719d
Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as appropriate.
2016-01-29 13:37:33 -05:00
Hasan
3d0dcd7f5a
Refs #26022 -- Used context manager version of assertRaises in tests.
2016-01-29 12:32:18 -05:00
Nick Sandford
5fa7b592b3
Fixed #22810 -- Corrected admin changelist count for list filters that filter by default.
2015-11-18 19:54:27 -05:00
Tim Graham
e9673c657a
Cleaned up admin_filters' docstrings.
2015-11-14 11:30:24 -05:00
Tim Graham
b1b14587ae
Fixed admin_filters test failures when run in reverse.
2015-11-14 11:30:24 -05:00
Andrey Kuzmin
815f4d206d
Fixed #25606 -- Added support for "__" lookup in RelatedOnlyFieldList
2015-11-12 19:50:54 -05:00
Tim Graham
9c5e272860
Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set.
2015-10-27 07:57:15 -04:00
Tim Graham
4a50daf6b3
Fixed #25562 -- Skipped a time dependent admin_filters test on Windows.
2015-10-19 20:26:33 -04:00
Dražen Odobašić
b1e33ceced
Fixed #23395 -- Limited line lengths to 119 characters.
2015-09-12 11:40:50 -04:00
Tim Graham
064d4b1cb0
Fixed #25320 -- Reverted ManyToManyField.null to False for backwards compatibility.
...
Thanks Tom Christie for the report and review.
2015-09-01 07:59:39 -04:00
Flavio Curella
c2e70f0265
Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField
2015-07-27 18:28:13 -04:00
Tim Graham
0ed7d15563
Sorted imports with isort; refs #23860 .
2015-02-06 08:16:28 -05:00
Konrad Świat
06b11b617e
Fixed #23616 - Fixed generic relations in ModelAdmin.list_filter.
...
Thanks ranjur for reporting bug, timgraham for review,
and collinanderson for contributing tips.
2014-10-10 12:10:32 -04:00
Thomas Chaumeny
b2aad7b836
Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.
...
Thanks Collin Anderson for the review.
2014-09-29 00:01:38 +07:00
Tim Graham
d3543af750
Added sorting to some admin_view tests to prevent transient failures; refs #23380 .
2014-09-08 17:10:58 -04:00
Baylee Feore
f7d3a6255c
Fixed #23380 -- Fixed flaky test: admin_filters.tests.ListFiltersTests.test_relatedfield
2014-09-05 20:05:51 -04:00
Ramiro Morales
3a297d7816
Fixed #23055 -- Made generic admin filter obey ModelAdmin queryset.
...
Thanks to Trac user synasius and to Ola Sitarska for helping in
identifying the issue and helping with the test case.
2014-08-30 10:07:00 -03:00
Florian Apolloner
6d256ae248
Fixed test failures from 98e8da3709
.
2014-08-04 16:54:43 +02:00
Tim Graham
b50ea73e1e
Fixed two tests in previous commit; refs #16311 .
2014-08-04 10:21:13 -04:00
Stanislas Guerra
98e8da3709
Fixed #16311 -- Added a RelatedOnlyFieldListFilter class in admin.filters.
2014-08-04 09:39:02 -04:00
Anubhav Joshi
011abb7d96
Fixed #19671 -- Added warnings that null and validators are ignored for ManyToManyField.
...
Thanks Loic Bistuer and Tim Graham for help and review.
2014-07-09 16:01:09 -04:00
Aymeric Augustin
e32095616c
Imported override_settings from its new location.
2013-12-23 21:37:56 +01:00
Loic Bistuer
6685713869
Fixed E127 pep8 warnings.
2013-12-14 11:59:15 -05:00
Vajrasky Kok
68b540c977
Fixed #21361 -- allowed access self.value() from SimpleListFilter lookup
...
Reviewed by Chris Medrela.
2013-11-19 09:14:22 +02:00
Alex Gaynor
c347f78cc1
Fixed all E226 violations
2013-11-03 10:08:55 -08:00
Jason Myers
7a61c68c50
PEP8 cleanup
...
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-02 23:50:49 -05:00
coagulant
8eec2d93b6
Fixed all E261 warnings
2013-11-02 23:50:33 -05:00
Anentropic
c4db7f075e
Fixed #19182 -- Fixed ModelAdmin.lookup_allowed to work with ('fieldname', SimpleListFilter) syntax.
...
Thanks gauss for the report.
2013-10-03 09:37:49 -04:00
Baptiste Mispelon
8f51ba669a
Fixed #21186 : Fixed regression when using date fields in the admin's list_filter.
...
Thanks to onlygoldi2201 for the report and to ramiro and apollo13
for the reviews.
2013-09-28 00:40:43 +02:00
Claude Paroz
5c1143910e
Removed most of absolute_import imports
...
Should be unneeded with Python 2.7 and up.
Added some unicode_literals along the way.
2013-07-29 20:28:13 +02:00
Loic Bistuer
6983a1a540
Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet.
2013-03-08 10:11:45 -05:00
Florian Apolloner
89f40e3624
Merged regressiontests and modeltests into the test root.
2013-02-26 14:36:57 +01:00