Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/generic_views
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-242-9/+4
| | | | | | success_url placeholders. Per deprecation timeline.
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-122-13/+49
|
* 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-202-6/+8
|
* Fixed #24714 -- Used more specific assertions than ↵Alasdair Nicol2015-04-281-1/+1
| | | | assertEqual in tests.
* Fixed #24689 -- Fixed DetailView methods with deferred ↵Artis Avotins2015-04-261-0/+22
| | | | QuerySet.
* 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.
* Converted test fixtures to setUpTestData methodsJosh Smeaton2015-03-055-117/+102
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-065-10/+8
|
* Fixed #24263 -- Prevented extra queries on ↵Tim Graham2015-02-031-0/+4
| | | | | | BaseDateDetailView with a custom queryset. Thanks jekka-ua for the report and patch.
* Fixed #24168 -- Allowed selecting a template engine in a ↵Aymeric Augustin2015-02-033-1/+17
| | | | | | | | | | | | few APIs. Specifically in rendering shortcuts, template responses, and class-based views that return template responses. Also added a test for render_to_response(status=...) which was missing from fdbfc980. Thanks Tim and Carl for the review.
* Fixed #24220 - Allowed lazy objects for success_urlTomáš Ehrlich2015-01-261-3/+1
|
* Changed RedirectView.permanent to False per deprecation ↵Tim Graham2015-01-181-90/+29
| | | | timeline; refs #21587.
* Fixed #24055 -- Keep reference to view class for resolve()Collin Anderson2015-01-172-0/+13
|
* Fixed #24133 -- Replaced formatting syntax in ↵Claude Paroz2015-01-122-9/+46
| | | | | | | success_url placeholders Thanks Laurent Payot for the report, and Markus Holtermann, Tim Graham for the reviews.
* Applied ignore_warnings to Django testsClaude Paroz2014-12-301-3/+3
|
* 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 #21587 -- Added a warning for changing default of ↵Berker Peksag2014-11-251-1/+68
| | | | RedirectView.permanent.
* 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-034-10/+10
| | | | 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 #23482 -- Added SingleObjectMixin.query_pk_and_slugJon Dufresne2014-10-022-0/+32
| | | | | Enabling the attribute causes get_object() to perform its lookup using both the primary key and the slug.
* Fixed #18355 -- Added ordering options to list based ↵Peter Harley2014-08-154-1/+70
| | | | | | | | generic views. Added MultipleObjectMixin.ordering and get_ordering(). Refs #21450.
* Updated tests for added newlines in ↵Tim Graham2014-08-131-1/+1
| | | | 68686430638215b5405b20bd767c0be392c9221d.
* Added newlines to the ends of CSS, HTML, and JavaScript ↵Trey Hunner2014-08-1320-20/+20
| | | | files missing them.
* Fixed #23276 -- Deprecated passing views as strings to ↵Tim Graham2014-08-121-1/+2
| | | | url().
* Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of ↵chriscauley2014-04-171-57/+57
| | | | | | docs and tests. Thanks tomwys for the suggestion.
* Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi2014-04-065-17/+17
|
* Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham2014-04-031-111/+107
| | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
* 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 many typos in comments and docstrings.Rodolfo Carvalho2014-03-031-1/+1
| | | | Thanks Piotr Kasprzyk for help with the patch.
* 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.
* Imported override_settings from its new location.Aymeric Augustin2013-12-232-4/+3
|
* Fixed #21564 -- Use local request object when possible ↵Baptiste Mispelon2013-12-161-0/+18
| | | | | | in generic views. Thanks to trac user adepue for the report and original patch.
* Fixed #21619 -- Made SingleObjectMixin.get_object catch ↵Peter Harley2013-12-154-2/+27
| | | | | | a more precise exception. Thanks to Keryn Knight for the report.
* PEP8 cleanupJason Myers2013-11-034-1/+26
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed flake8 E241Boryslav Larin2013-11-022-2/+2
|
* Fix all violators of E231Alex Gaynor2013-10-262-7/+7
|
* Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol2013-10-231-0/+1
|
* Removed unused local variables in tests.Tim Graham2013-10-193-25/+23
|
* Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol2013-10-182-2/+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.
* Factorized requires_tz_support decorator in test utilsClaude Paroz2013-10-011-14/+1
| | | | Thanks Aymeric Augustin for the suggestion. Refs #21165.
* fixed test name from an old, overly specific iteration ↵Ian Wilson2013-09-071-1/+1
| | | | of the test
* adds fix for SingleObjectTemplateResponseMixin raising a ↵Ian Wilson2013-09-062-0/+20
| | | | TemplateDoesNotExist when it should have raised an ImproperlyConfigured. fixes 16502. by @ianawilson, @jambonrose
* Removed most of absolute_import importsClaude Paroz2013-07-298-9/+7
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.