Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/generic_views/test_edit.py
Commit message (Collapse)AuthorAgeFilesLines
* Refs #23656 -- Required FormMixin.get_form() form_class ↵Tim Graham2015-09-241-25/+0
| | | | | | parameter to be optional. Per deprecation timeline.
* Refs #24133 -- Removed legacy formatting syntax in ↵Tim Graham2015-09-241-6/+1
| | | | | | success_url placeholders. Per deprecation timeline.
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-241-5/+5
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-3/+5
|
* Fixed #24714 -- Used more specific assertions than ↵Alasdair Nicol2015-04-281-1/+1
| | | | assertEqual in tests.
* Fixed #24643 -- Added get_context_data() method to FormMixinAndrei Kulakov2015-04-251-0/+7
|
* Fixed #23960 -- Removed http.fix_location_headerClaude Paroz2015-03-181-20/+20
| | | | Thanks Carl Meyer for the report and Tim Graham for the review.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-2/+2
|
* Fixed #24133 -- Replaced formatting syntax in ↵Claude Paroz2015-01-121-7/+35
| | | | | | | success_url placeholders Thanks Laurent Payot for the report, and Markus Holtermann, Tim Graham for the reviews.
* Refs #23943 -- Removed an invalid generic_views test.Tim Graham2014-12-121-21/+0
| | | | | Using PUT as a method for the form element is no longer supported as described in the ticket.
* Fixed #23923 -- Promoted Django's deprecation warnings ↵Tim Graham2014-11-291-0/+2
| | | | to errors in runtests.py
* Fixed #21753 -- Raised exception when both `form_class` ↵Berker Peksag2014-11-211-0/+11
| | | | and `fields` are specified.
* Fixed #23620 -- Used more specific assertions in the ↵Berker Peksag2014-11-031-6/+6
| | | | Django test suite.
* Fixed #23656 -- Made FormMixin.get_form's form_class ↵Simon Charette2014-10-311-0/+39
| | | | | | argument optional. Thanks Tim Graham for the review.
* Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi2014-04-061-5/+5
|
* Made ModelForms raise ImproperlyConfigured if the list ↵Tim Graham2014-03-221-25/+13
| | | | | | | | of fields is not specified. Also applies to modelform(set)_factory and generic model views. refs #19733.
* Fixed #21188 -- Introduced subclasses for ↵Claude Paroz2014-03-081-3/+4
| | | | | | | to-be-removed-in-django-XX warnings Thanks Anssi Kääriäinen for the idea and Simon Charette for the review.
* Fixed #21967: Added check for object in ↵Ryan Kaskel2014-02-091-1/+7
| | | | | | ModelFormMixin.get_form_kwargs. Thanks lagovas.lagovas at gmail.com for the report.
* Removed unused local variables in tests.Tim Graham2013-10-191-21/+19
|
* Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol2013-10-181-1/+0
|
* Whitespace cleanup.Tim Graham2013-10-101-1/+0
| | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
* 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/+1
| | | | Refs #20680.
* Advanced deprecation warnings for Django 1.7.Aymeric Augustin2013-06-291-3/+3
|
* Fixed #18872 -- Added prefix to FormMixinGilberto Gonçalves2013-06-221-1/+20
| | | | | Thanks @ibustama for the initial patch and dragonsnaker for opening the report.
* Use assertIsInstance in tests.Marc Tamlyn2013-05-211-7/+7
| | | | Gives much nicer errors when it fails.
* Fixed #19733 - deprecated ModelForms without 'fields' or ↵Luke Plant2013-05-091-1/+43
| | | | | | | | '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.
* Modified generic_views for unittest2 discovery.Preston Timmons2013-04-121-0/+317