summaryrefslogtreecommitdiff
path: root/tests/admin_views
AgeCommit message (Collapse)Author
2014-11-25[1.6.x] Fixed #23754 -- Always allowed reference to the primary key in the adminSimon Charette
This change allows dynamically created inlines "Add related" button to work correcly as long as their associated foreign key is pointing to the primary key of the related model. Thanks to amorce for the report, Julien Phalip for the initial patch, and Collin Anderson for the review. Backport of f9c4e14aeca7df79991bca8ac2d743953cbd095c from master
2014-10-06[1.6.x] Fixed #23604 -- Allowed related m2m fields to be references in the ↵Emmanuelle Delescolle
admin. Thanks Simon Charette for review. Backport of a24cf21722 from master
2014-09-08[1.6.x] Fixed #23431 -- Allowed inline and hidden references to admin fields.Simon Charette
This fixes a regression introduced by the 53ff096982 security fix. Thanks to @a1tus for the report and Tim for the review. refs #23329. Backport of 342ccbd from master
2014-08-27[1.6.x] Fixed #23329 -- Allowed inherited and m2m fields to be referenced in ↵Simon Charette
the admin. Thanks to Trac alias Markush2010 and ross for the detailed reports. Backport of 3cbb759 from master
2014-08-20[1.6.x] Prevented data leakage in contrib.admin via query string manipulation.Simon Charette
This is a security fix. Disclosure following shortly.
2014-03-31[1.6.x] Fixed #22360 -- Fixed two non-deterministic tests in Python 3.4.Loic Bistuer
The order of admin's changelist filters in the querystring relied on dict ordering. Backport of 4d996b8e69 from master
2014-03-31[1.6.x] Fixed #21795 -- Made add_preserved_filters account for url prefixes.Loic Bistuer
Thanks to trac username honyczek for the report. Refs #6903. Backport of 4339e9a92d from master
2013-12-11[1.6.x] Fixed #21510 -- Readded search reset link in changelist search barClaude Paroz
Thanks moritz.pfeiffer at alp-phone.ch for the report and Tim Graham for the initial patch. Backport of c7c647419c from master.
2013-11-21[1.6.x] Fixed #21431 -- GenRel->FK list_filter regression in adminAnssi Kääriäinen
Report, analysis and tests from stephenmcd. Backpatch of 752d3d70da6291039f33781a0a2ef6f3b7c5fcb5 from master.
2013-09-10[1.6.x] Took advantage of django.utils.six.moves.urllib.*.Aymeric Augustin
Backport of 6a6428a36 from master.
2013-08-29[1.6.x] Fixed #16433 -- Fixed a help_text/read only field interaction that ↵Tim Graham
caused an admin crash. Thanks chris at cogdon.org for the report and admackin for the patch. Backport of af953c45cc from master
2013-08-15[1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField ↵Alasdair Nicol
does not have a default value Thanks to Collin Anderson for the suggestion and Tim Graham for reviewing the patch. Backport of 22c6497f99 from master
2013-08-02[1.6.x] Fixed LogEntry.get_admin_url() for non-existent models.Petr Dlouhý
Regression introduced by [369b6fa]; refs #18169. Backport of 1b47508ac8 from master
2013-07-18[1.6.x] Fixed #20767 -- Fixed ModelAdmin.preserve_filters for namespaced URLs.Loic Bistuer
Thanks Collin Anderson for the report. Backport of 2fc6c9472c from master.
2013-07-01[1.6.x] Updated tests for deprecation of ↵Tim Graham
Option.get_(add|change|delete)_permission. refs #20642. Backport of a6a905c619 from master.
2013-06-27Prevented running some admin_view tests twice.Tim Graham
2013-06-27Fixed #20664 -- Fixed a bug with raw_id_fields on Python 3.Tim Graham
Thanks jefftriplett for the report.
2013-06-25Fixed #19773 - Added admin/popup_response.html template.Javier Mansilla
Thanks jimmylam@ for the suggestion.
2013-06-19Merge pull request #1282 from loic/ticket6903Aymeric Augustin
Fixed failing test on MySQL since c86a9b6
2013-06-19Fixed MySQL failing test introduced by c86a9b6Loic Bistuer
2013-06-18Merge pull request #1281 from loic/ticket6903Aymeric Augustin
Fixed #6903 - Preserved admin changelist filters.
2013-06-19Fixed #6903 - Preserve admin changelist filters after saving or deleting an ↵Loic Bistuer
object
2013-06-18Fixed #20079 -- Improve security of password reset tokensErik Romijn
2013-06-10Fixed available_apps for selenium tests.Aymeric Augustin
Refs #20483.
2013-05-29Fixed #20331 -- Allowed admin actions to serve StreamingHttpResponsesTim Graham
Thanks Edwin.
2013-05-27Fixed #20182 - admin lookup should treat 0 as False for __isnullTim Graham
Thanks Benjie Chen.
2013-05-25Fixed #19866 -- Added security logger and return 400 for SuspiciousOperation.Preston Holmes
SuspiciousOperations have been differentiated into subclasses, and are now logged to a 'django.security.*' logger. SuspiciousOperations that reach django.core.handlers.base.BaseHandler will now return a 400 instead of a 500. Thanks to tiwoc for the report, and Carl Meyer and Donald Stufft for review.
2013-05-21Use assertIsInstance in tests.Marc Tamlyn
Gives much nicer errors when it fails.
2013-05-19Fixed #15961 -- Modified ModelAdmin to allow for custom search methods.Bozidar Benko
This adds a get_search_results method that users can override to provide custom search strategies. Thanks to Daniele Procida for help with the docs.
2013-05-10Fixed an obvious typo.Alex Gaynor
2013-05-10Fixed two admin_views tests under Oracle.Aymeric Augustin
Thanks Anssi for the review.
2013-04-10Made usage of assertTemplateUsed in admin_views testsClaude Paroz
Thanks Baptiste Mispelon for the suggestion.
2013-04-08Fix admin_views tests after commit 3be368c73e.Baptiste Mispelon
2013-03-25Fixed #20121 -- Removed LogEntry.get_admin_url's hard-coded path.Adam Wentz
Updated LogEntry.get_admin_url to use 'reverse' instead of a hard-coded path.
2013-03-24Fixed test failures introduced in e16c48e001.Aymeric Augustin
2013-03-18Fixed #19327 -- Added handling of double login attempts in admin.Deric Crago
Thanks to Krzysztof Jurewicz for initial patch and adupin for tests.
2013-03-18Fixed #13260 -- Quoted arguments interpolated in URLs in reverse.Aymeric Augustin
2013-03-11Adjusted query counts to account for new savepoints.Aymeric Augustin
2013-03-08Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that ↵Loic Bistuer
return a QuerySet.
2013-03-06Fixed #19951 -- Admin: Invalid model PK values shouldn't cause 500 status.Igor Támara
Avoid ValueError in admin when passing a string as PK for an inherited model with an integer PK field. Thanks ikks for the patch. See also #11191.
2013-02-26Renamed some tests and removed references to modeltests/regressiontests.Florian Apolloner
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner