Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/admin_views
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #25622 -- Accounted for generic relations in the ↵Simon Charette2015-10-293-12/+34
| | | | | | admin to field validation Thanks to Jonathan Liuti for the report and Tim Graham for the review.
* Fixed #25519 -- Made the admin "View site" link point to ↵Dheerendra Rathor2015-10-221-0/+5
| | | | | | | sites running on a subpath. Used request.META['SCRIPT_NAME'] as the site_url if it hasn't been customized from the default value of '/'.
* Fixed quad quoted ("""") docstring starts.John Vandenberg2015-10-201-1/+1
|
* Refs #23957 -- Required session verification per ↵Tim Graham2015-09-241-1/+1
| | | | deprecation timeline.
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-122-58/+161
|
* Fixed #25374 -- Made ModelAdmin checks work on instances ↵Malcolm Box2015-09-111-5/+6
| | | | | | | instead of classes. This allows dynamically-generated attributes to be specified in checked ModelAdmin attributes without triggering errors.
* Fixed #25135 -- Deprecated the contrib.admin allow_tags ↵Ola Sitarska2015-09-092-7/+16
| | | | | | attribute. Thanks Jaap Roes for the idea and initial patch.
* Fixed #25353 -- Changed LogEntry.action_time to a "date ↵Tim Graham2015-09-041-0/+10
| | | | created".
* Fixed #25058 -- Added GenericRelations with ↵sarthakmeh2015-09-033-18/+41
| | | | related_query_name to the admin's delete confirmation page.
* Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant2015-08-311-5/+0
|
* Fixed #25323 -- Fixed selenium test failures with ↵Tim Graham2015-08-281-2/+8
| | | | chromedriver 2.18.
* Fixed #25299 -- Fixed crash with ModelAdmin.list_display ↵Tim Graham2015-08-282-1/+15
| | | | value that clashes with a model reverse accessor.
* Fixed #20597 -- Replaced admin GIF/PNG icons by SVGelky2015-08-271-1/+1
|
* Fixed #25163 -- Added hint for non-staff users to admin ↵Luis Visintini2015-07-291-0/+19
| | | | login page.
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-49/+75
| | | | on_delete for ForeignKey/OneToOneField
* Refs #24919 -- Made test models serializable for migrations.Tim Graham2015-07-211-3/+5
|
* Fixed #16501 -- Added an allow_unicode parameter to ↵Edward Henderson2015-07-173-9/+15
| | | | | | SlugField. Thanks Flavio Curella and Berker Peksag for the initial patch.
* Refs #4960 -- Fixed selenium test failures for CharField ↵Tim Graham2015-07-061-0/+3
| | | | strip changes.
* Fixed #25032 -- Removed double redirect in admin login.Jan Pazdziora2015-07-031-1/+10
|
* Fixed #25018 -- Changed simple_tag to apply ↵Luke Plant2015-06-291-1/+1
| | | | | | | | | conditional_escape() to its output. This is a security hardening fix to help prevent XSS (and incorrect HTML) for the common use case of simple_tag. Thanks to Tim Graham for the review.
* Fixed #21927 -- Made application and instance namespaces ↵Marten Kenbeek2015-06-082-9/+9
| | | | | | | | more distinct. Made URL application namespaces be set in the included URLconf and instance namespaces in the call to include(). Deprecated other ways to set application and instance namespaces.
* Moved jQuery to a vendor/jquery subdirectory.Trey Hunner2015-06-071-4/+4
|
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-2/+3
|
* Fixed #24553 -- Added the list of available applications ↵Riccardo Magliocchetti2015-05-111-0/+82
| | | | to AdminSite.each_context()
* Fixed #23387 -- Kept "Save as new" button after ↵Adam Zapletal2015-05-033-12/+63
| | | | | | | | | validation errors in admin. When "Save as new" is chosen and errors occur, only show the "Save as new" button and not the other save buttons. Thanks to Tino de Bruijn for doing the real work on this fix.
* Fixed #24466 -- Added JavaScript escaping in a couple ↵Tim Graham2015-03-311-0/+25
| | | | | | places in the admin. Thanks Aymeric Augustin and Florian Apolloner for work on the patch.
* Added test for LogEntry.get_edited_object(); refs #24244.Varun Sharma2015-03-231-0/+6
|
* Fixed #24490 -- Set LogEntry.change_message when adding ↵Karl Hobley2015-03-201-1/+12
| | | | an object.
* Fixed #24476 -- Added context manager/decorator for ↵Bas Peschier2015-03-181-9/+3
| | | | | | | | overriding script prefix. Tests were using an undocumented keyword argument for easily overriding script prefix while reversing. This is now changed into a test utility which can be used as decorator or context manager.
* Refs #24461 -- Added test/release notes for XSS issue in ↵Baptiste Mispelon2015-03-093-1/+17
| | | | | | ModelAdmin.readonly_fields This issue was fixed by refs #24464.
* Fixed #23993 -- Added form.media to the admin login ↵david2015-03-072-0/+4
| | | | template.
* Fixed admin selenium tests broken by removal of fixtures.Tim Graham2015-03-051-4/+3
|
* Converted test fixtures to setUpTestData methodsJosh Smeaton2015-03-0512-727/+963
|
* Fixed #24426 -- Displayed admin actions panel when ↵Tim Graham2015-03-041-0/+1
| | | | show_full_result_count=False.
* Fixed #24294 -- Allowed staff_member_required decorator ↵Andrei Kulakov2015-03-023-0/+15
| | | | to handle args.
* Normalized usage of the tempfile module.Aymeric Augustin2015-02-231-2/+1
| | | | Specifically stopped using the dir argument.
* Guaranteed removal of temporary files during tests.Aymeric Augustin2015-02-232-2/+2
| | | | | | | Dropped the DJANGO_TEST_TEMP_DIR environment variable. Before this change, proper removal depended on the developer passing dir=os.environ['DJANGO_TEST_TMP_DIR'] to tempfile functions.
* Fixed #15779 -- Allowed 'add' primary key in admin editionClaude Paroz2015-02-142-3/+17
| | | | | Thanks Marwan Alsabbagh for the report, and Simon Charette and Tim Graham for the reviews.
* Fixed #24333 -- Fixed admin history view crash with ↵Tim Graham2015-02-121-0/+5
| | | | non-integer slug.
* Refactored an admin_view test case.Simon Charette2015-02-091-107/+85
| | | | | | Used setUpTestData, client login/logout and manager's count() method. Thanks to Tim for the review.
* Moved a custom admin template test to a more appropriate ↵Simon Charette2015-02-091-44/+41
| | | | | | case. Thanks to Tim for the review.
* Replaced hardcoded URLs in admin_* testsClaude Paroz2015-02-083-581/+620
| | | | | Refs #15779. This will allow easier admin URL changes, when needed. Thanks Simon Charette for the review.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-066-67/+65
|
* Removed old import aliases.Tim Graham2015-02-061-1/+1
|
* Fixed #24149 -- Normalized tuple settings to lists.darkryder2015-02-031-40/+40
|
* Fixed typos in code comments.Adam Taylor2015-01-201-1/+1
|
* Removed support for admin validators per deprecation ↵Tim Graham2015-01-181-19/+0
| | | | timeline; refs #16905.
* Fixed #24055 -- Keep reference to view class for resolve()Collin Anderson2015-01-171-1/+8
|
* Fixed #24099 -- Removed contenttype.name deprecated fieldClaude Paroz2015-01-161-3/+3
| | | | | | This finsishes the work started on #16803. Thanks Simon Charette, Tim Graham and Collin Anderson for the reviews.
* Fixed #24124 (again) -- Updated tests with new default ↵Aymeric Augustin2015-01-121-7/+2
| | | | | | context_processors. Thanks Collin for the review.