Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/modeladmin
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-122-7/+11
|
* Fixed #25374 -- Made ModelAdmin checks work on instances ↵Malcolm Box2015-09-111-3/+6
| | | | | | | instead of classes. This allows dynamically-generated attributes to be specified in checked ModelAdmin attributes without triggering errors.
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-4/+4
| | | | on_delete for ForeignKey/OneToOneField
* Fixed #24908 -- Fixed duplicate readonly field rendering.jpic2015-07-021-0/+31
| | | | | ModelAdmin added readonly_fields to exclude, but would not undeclare them if they were overridden.
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-3/+3
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-5/+7
|
* Removed support for admin validators per deprecation ↵Tim Graham2015-01-181-19/+1
| | | | timeline; refs #16905.
* Fixed #13165 -- Added edit and delete links to admin ↵Simon Charette2015-01-101-13/+13
| | | | | | | foreign key widgets. Thanks to Collin Anderson for the review and suggestions and Tim for the final review.
* Applied ignore_warnings to Django testsClaude Paroz2014-12-301-10/+8
|
* Refs #23947 -- Made a modeladmin test cleanup after itself.Diego Guimarães2014-12-051-7/+12
|
* Fixed #6327 -- Added has_module_permission method to ↵Maxime Turcotte2014-06-131-0/+90
| | | | | | BaseModelAdmin Thanks chrj for the suggestion.
* Fixed #22792 -- Updated checks for list_display_links in ↵Greg Chapple2014-06-101-0/+24
| | | | model admin
* Harmonized some PEP 0263 coding preamblesClaude Paroz2014-05-151-1/+1
|
* Fixed #17642 -- Added min_num support to modelformsets, ↵Anders Steinlein2014-05-151-1/+28
| | | | | | | | inlines, and the admin. Thanks Stephen Burrows for work on the patch as well. Forwardport of 2914f66983a92fcae55673c517dd8d01e8c238c4 from stable/1.7.x
* Fixed #22237 -- Removed some warnings in the test suiteClaude Paroz2014-03-091-1/+2
| | | | Thanks Aymeric Augustin for the report.
* Fixed #21188 -- Introduced subclasses for ↵Claude Paroz2014-03-081-1/+2
| | | | | | | to-be-removed-in-django-XX warnings Thanks Anssi Kääriäinen for the idea and Simon Charette for the review.
* Fixed three small flake8 violations.Alex Gaynor2014-03-051-2/+2
|
* Fixed broken tests on Python 3 after ↵Baptiste Mispelon2014-03-031-6/+20
| | | | 3c5fc708f1a8f60c05182869f6f3ec13697bbcf2.
* Fixed many typos in comments and docstrings.Rodolfo Carvalho2014-03-031-1/+1
| | | | Thanks Piotr Kasprzyk for help with the patch.
* Edited contrib.admin check messages for grammar and ↵Russell Keith-Magee2014-03-031-100/+100
| | | | consistency.
* Updated some tests to use the check framework and ↵Tim Graham2014-01-311-21/+18
| | | | silenced a PendingDeprecationWarning.
* Fixed #16905 -- Added extensible checks (nee validation) ↵Russell Keith-Magee2014-01-201-474/+476
| | | | | | | | | | | framework This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844.
* Imported override_settings from its new location.Aymeric Augustin2013-12-231-2/+2
|
* Fixed E124 pep8 warnings.Loic Bistuer2013-12-101-58/+116
|
* PEP8Jason Myers2013-11-031-0/+3
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed all E261 warningscoagulant2013-11-031-1/+1
|
* Fixed #21302 -- Fixed unused imports and import *.Tim Graham2013-11-021-1/+0
|
* Fix all violators of E231Alex Gaynor2013-10-261-1/+1
|
* Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol2013-10-231-0/+2
|
* Removed some direct settings manipulations in tests; ↵Bouke Haarsma2013-10-211-8/+5
| | | | refs #21230.
* Removed unused local variables in tests.Tim Graham2013-10-191-1/+1
|
* Fixed #21129 -- Prevented admin filter params ↵tschilling2013-10-021-0/+12
| | | | | | modifications from throwing an exception. Thanks Tuttle for the report.
* Fixed #15185 -- Allowed ↵Ramiro Morales2013-10-011-0/+5
| | | | | | ModelAdmin.list_display_links=None to disable change list links. Thanks rm_ for the suggestion.
* Fixed #20702 -- Deprecated get_formsets in favor of ↵tschilling2013-09-201-4/+4
| | | | | | get_formsets_with_inlines. Thanks stanislas.guerra at gmail.com for the report.
* Fixed #20895 -- Made check management command warn if a ↵Alasdair Nicol2013-08-161-1/+1
| | | | | | | BooleanField does not have a default value Thanks to Collin Anderson for the suggestion and Tim Graham for reviewing the patch.
* Introduced ModelAdmin.get_fields() and refactored ↵Loic Bistuer2013-08-041-0/+10
| | | | | | | | get_fieldsets() to use it. Refs #18681. This also starts the deprecation of ModelAdmin.declared_fieldsets
* Removed most of absolute_import importsClaude Paroz2013-07-291-1/+1
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Stopped using django.utils.unittest in the test suite.Aymeric Augustin2013-07-011-1/+2
| | | | Refs #20680.
* Fixed #19080 -- Fine-grained control over select_related ↵Tomek Paczkowski2013-06-051-2/+4
| | | | in admin
* Fixed #18681 -- BaseModelAdmin.get_form and ↵Loic Bistuer2013-05-311-0/+24
| | | | | | InlineModelAdmin.get_formset no longer bypass get_fieldsets Thanks msopacua for the report.
* Fixed #12674 -- provide a way to override admin validationHonza Kral2013-05-191-149/+90
| | | | | Moved admin validation code to classes and have those be class attributes to the ModelAdmin classes.
* Fixed #19733 - deprecated ModelForms without 'fields' or ↵Luke Plant2013-05-091-8/+1
| | | | | | | | 'exclude', and added '__all__' shortcut This also updates all dependent functionality, including modelform_factory and modelformset_factory, and the generic views `ModelFormMixin`, `CreateView` and `UpdateView` which gain a new `fields` attribute.
* Further removal of static admin validation that can fail ↵Luke Plant2013-05-091-21/+0
| | | | erroneously
* Removed some failing tests missed in ↵Luke Plant2013-05-091-42/+0
| | | | 1556b1c3b7a18cadf4d66d2ab6301d7fe8646ba5
* Fixed #15363 -- Renamed and normalized to `get_queryset` ↵Loic Bistuer2013-03-081-2/+2
| | | | the methods that return a QuerySet.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-263-0/+1541