Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/admin_views
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #16433 -- Fixed a help_text/read only field ↵Tim Graham2013-08-293-3/+19
| | | | | | interaction that caused an admin crash. Thanks chris at cogdon.org for the report and admackin for the patch.
* Fixed #20881 -- Removed ↵Tim Graham2013-08-291-4/+4
| | | | | | | contrib.auth.models.AbstractUser.get_absolute_url() The definition is arbitrary and creates a broken "view on site" link in the admin if a project doesn't define such a URL.
* Fixed #20934 -- Avoided NoReverseMatch in ↵Rainer Koirikivi2013-08-221-0/+13
| | | | | | | | ModelAdmin.changelist_view The view tried to display links to a ModelAdmin's change_view, which resulted in NoReverseMatches if get_urls was overridden to remove the corresponding url.
* Fixed #20640 -- Avoided NoReverseMatch in ↵Rainer Koirikivi2013-08-193-3/+34
| | | | | | | | | | | get_deleted_objects The default delete action resulted in a NoReverseMatch if it were to list any Model with a ModelAdmin with `get_urls` overridden to remove the change url. Catching the error and not displaying the link in that case, as was already done for models with no registered admins. Thanks Keryn Knight for the report.
* Combine consecutive with statementsClaude Paroz2013-08-161-13/+10
| | | | Python 2.7 allows to combine several 'with' instructions.
* Fixed #20895 -- Made check management command warn if a ↵Alasdair Nicol2013-08-161-4/+4
| | | | | | | BooleanField does not have a default value Thanks to Collin Anderson for the suggestion and Tim Graham for reviewing the patch.
* Fixed LogEntry.get_admin_url() for non-existent models.Petr Dlouhý2013-08-021-0/+11
| | | | Regression introduced by [369b6fa]; refs #18169.
* Added a test for AdminSite.app_index_template; refs #8498.SusanTan2013-07-312-0/+7
|
* Fixed #19082 -- Enabled admin field pre-population for ↵Julien Phalip2013-07-302-2/+46
| | | | | existing objects. Thanks to msaelices and d1ffuz0r for the initial patch and tests.
* Removed most of absolute_import importsClaude Paroz2013-07-294-5/+3
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Fixed #11195 -- Added CSS classes to the changelist ↵Julien Phalip2013-07-281-5/+21
| | | | cells to allow style customizations. Thanks to akaihola, Ramiro Morales and vdboor for their work on the patch.
* Fixed #13629 -- Added CSS classes to the `<body>` tag of ↵Thomas Sorrel2013-07-211-0/+53
| | | | some admin templates to allow style customizations per app or per model.
* Fixed #20767 -- Fixed ModelAdmin.preserve_filters for ↵Loic Bistuer2013-07-193-6/+21
| | | | | | namespaced URLs. Thanks Collin Anderson for the report.
* Fixed a few more imports of django.utils.unittest.Aymeric Augustin2013-07-011-1/+3
| | | | One import per line please! Refs #20680.
* Updated tests for deprecation of ↵Tim Graham2013-07-011-7/+8
| | | | | | Option.get_(add|change|delete)_permission. refs #20642.
* Prevented running some admin_view tests twice.Tim Graham2013-06-281-2/+3
|
* Fixed #20664 -- Fixed a bug with raw_id_fields on Python 3.Tim Graham2013-06-281-0/+8
| | | | Thanks jefftriplett for the report.
* Fixed #19773 - Added admin/popup_response.html template.Javier Mansilla2013-06-252-2/+13
| | | | Thanks jimmylam@ for the suggestion.
* Merge pull request #1282 from loic/ticket6903Aymeric Augustin2013-06-191-2/+2
|\ | | | | Fixed failing test on MySQL since c86a9b6
| * Fixed MySQL failing test introduced by c86a9b6Loic Bistuer2013-06-191-2/+2
| |
* | Merge pull request #1281 from loic/ticket6903Aymeric Augustin2013-06-181-0/+153
|\| | | | | Fixed #6903 - Preserved admin changelist filters.
| * Fixed #6903 - Preserve admin changelist filters after ↵Loic Bistuer2013-06-181-0/+153
| | | | | | | | saving or deleting an object
* | Fixed #20079 -- Improve security of password reset tokensErik Romijn2013-06-181-4/+4
|/
* Fixed available_apps for selenium tests.Aymeric Augustin2013-06-101-2/+4
| | | | Refs #20483.
* Fixed #20331 -- Allowed admin actions to serve ↵Tim Graham2013-05-292-4/+45
| | | | | | StreamingHttpResponses Thanks Edwin.
* Fixed #20182 - admin lookup should treat 0 as False for ↵Tim Graham2013-05-273-3/+55
| | | | | | __isnull Thanks Benjie Chen.
* Fixed #19866 -- Added security logger and return 400 for ↵Preston Holmes2013-05-261-17/+17
| | | | | | | | | | | | SuspiciousOperation. 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.
* Use assertIsInstance in tests.Marc Tamlyn2013-05-211-1/+1
| | | | Gives much nicer errors when it fails.
* Fixed #15961 -- Modified ModelAdmin to allow for custom ↵Bozidar Benko2013-05-193-2/+37
| | | | | | | | | search methods. 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.
* Fixed an obvious typo.Alex Gaynor2013-05-101-1/+1
|
* Fixed two admin_views tests under Oracle.Aymeric Augustin2013-05-101-2/+14
| | | | Thanks Anssi for the review.
* Made usage of assertTemplateUsed in admin_views testsClaude Paroz2013-04-101-3/+3
| | | | Thanks Baptiste Mispelon for the suggestion.
* Fix admin_views tests after commit 3be368c73e.Baptiste Mispelon2013-04-081-8/+8
|
* Fixed #20121 -- Removed LogEntry.get_admin_url's ↵Adam Wentz2013-03-261-2/+5
| | | | | | | hard-coded path. Updated LogEntry.get_admin_url to use 'reverse' instead of a hard-coded path.
* Fixed test failures introduced in e16c48e001.Aymeric Augustin2013-03-241-3/+3
|
* Fixed #19327 -- Added handling of double login attempts ↵Deric Crago2013-03-191-2/+28
| | | | | | | in admin. Thanks to Krzysztof Jurewicz for initial patch and adupin for tests.
* Fixed #13260 -- Quoted arguments interpolated in URLs in ↵Aymeric Augustin2013-03-181-5/+5
| | | | reverse.
* Adjusted query counts to account for new savepoints.Aymeric Augustin2013-03-111-2/+2
|
* Fixed #15363 -- Renamed and normalized to `get_queryset` ↵Loic Bistuer2013-03-083-26/+26
| | | | the methods that return a QuerySet.
* Fixed #19951 -- Admin: Invalid model PK values shouldn't ↵Igor Támara2013-03-071-3/+12
| | | | | | | | | cause 500 status. 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.
* Renamed some tests and removed references to ↵Florian Apolloner2013-02-261-34/+34
| | | | modeltests/regressiontests.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-2619-0/+5979