Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/views
Commit message (Collapse)AuthorAgeFilesLines
* Fixed "URLconf" spelling in code comments.Tim Graham2015-10-221-1/+1
|
* Fixed #25037 -- Added request.user to the debug view.John Moses2015-10-051-0/+7
|
* Removed unused views.debug.linebreak_iter() function.Tim Graham2015-09-241-9/+0
|
* Refs #23656 -- Required FormMixin.get_form() form_class ↵Tim Graham2015-09-241-27/+1
| | | | | | parameter to be optional. Per deprecation timeline.
* Refs #24133 -- Removed legacy formatting syntax in ↵Tim Graham2015-09-241-25/+2
| | | | | | success_url placeholders. Per deprecation timeline.
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-5/+7
|
* Fixed #25099 -- Fixed crash in AdminEmailHandler on ↵Vlastimil Zíma2015-09-041-3/+3
| | | | DisallowedHost.
* Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant2015-08-312-4/+0
|
* Fixed #24935 -- Refactored common conditional GET handling.Denis Cornehl2015-08-151-68/+8
|
* Refs #25236 -- Removed ifequal/ifnotequal usage.Tim Graham2015-08-082-9/+9
|
* Fixed #22404 -- Added a view that exposes i18n catalog ↵Sergey Kolosov2015-08-051-12/+49
| | | | | | | | as a JSON Added django.views.i18n.json_catalog() view, which returns a JSON response containing translations, formats, and a plural expression for the specified language.
* Fixed #25147 -- Fixed debug view copy-paste/interactive ↵Tim Graham2015-07-201-1/+1
| | | | | | | toggle. The whitespace added in 1101467ce0756272a54f4c7bc65c4c335a94111b broke the initial comparison.
* Fixed #25099 -- Cleaned up HttpRequest representations ↵Vlastimil Zíma2015-07-141-16/+7
| | | | in error reporting.
* Improved whitespace in debug templates.Tim Graham2015-07-141-24/+26
| | | | | Removed extra blank lines in the template text debug template, and prevented overindentation in the HTML debug template.
* Sorted imports in __init__.py files.Tim Graham2015-06-271-6/+8
|
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-241-5/+5
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Ref #23643 -- Added plain text report of exception chain.Tomáš Ehrlich2015-06-011-4/+9
|
* Refs #23643 -- Fixed debug view regression on Python 2.Luca Ferroni2015-05-291-2/+4
| | | | Thanks Tomáš Ehrlich for help with the patch.
* Fixed typos in HTTP decorator docs.I am Clinton2015-05-251-3/+3
|
* Removed unnecessary arguments in .get method callsPiotr Jakimiak2015-05-133-5/+5
|
* Fixed #24733 -- Passed the triggering exception to 40x ↵Claude Paroz2015-05-111-5/+26
| | | | | | error handlers Thanks Tim Graham for the review.
* Fixed #24119, #24120 -- Formalized debug integration for ↵Preston Timmons2015-05-071-23/+5
| | | | template backends.
* Fixed #24689 -- Fixed DetailView methods with deferred ↵Artis Avotins2015-04-261-2/+7
| | | | QuerySet.
* Fixed #24643 -- Added get_context_data() method to FormMixinAndrei Kulakov2015-04-251-3/+9
|
* Improved display of template loader postmortem on debug ↵Preston Timmons2015-04-221-73/+57
| | | | | | | | | page. This now works for multiple Django engines and recursive loaders. Support for non-Django engines is still pending. Refs #15053.
* Removed cases of six.iter* wrapped in a list()Curtis Maloney2015-04-181-1/+1
| | | | | There's absolutely no advantage [and a mild performance hit] to using six.iter* in these cases.
* Fixed #24440 -- Added padding to debug view stacktrace ↵andy matthews2015-03-231-2/+2
| | | | lines.
* Removed spaces after 'function' in jsi18nMoritz Sichert2015-03-201-10/+10
|
* Fixed #22106 -- Allowed using more than one instance of ↵Moritz Sichert2015-03-201-75/+75
| | | | javascript_catalog per project.
* Cleaned up the template debug implementation.Preston Timmons2015-03-201-48/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This patch does three major things: * Merges the django.template.debug implementation into django.template.base. * Simplifies the debug implementation. The old implementation copied debug information to every token and node. The django_template_source attribute was set in multiple places, some quite hacky, like django.template.defaulttags.ForNode. Debug information is now annotated in two high-level places: * Template.compile_nodelist for errors during parsing * Node.render_annotated for errors during rendering These were chosen because they have access to the template and context as well as to all exceptions that happen during either the parse or render phase. * Moves the contextual line traceback information creation from django.views.debug into django.template.base.Template. The debug views now only deal with the presentation of the debug information.
* Fixes #23643 -- Added chained exception details to debug ↵Tomáš Ehrlich2015-03-141-3/+52
| | | | view.
* Fixed #24122 -- Redirected to translated url after ↵Claude Paroz2015-03-131-0/+4
| | | | | | setting language Thanks gbdlin for the initial patch and Tim Graham for the review.
* Fixed #24455 -- Fixed crash in debug view with lazy objectsBas Peschier2015-03-101-1/+9
|
* Fixed #24399 -- Made filesystem loaders use more ↵Preston Timmons2015-03-031-4/+0
| | | | specific exceptions.
* Fixed a few uses of Template that relied on a default ↵Aymeric Augustin2015-02-222-6/+8
| | | | | | engine. Refs #24389.
* Fixed #24389 -- Isolated the CSRF view from the ↵Aymeric Augustin2015-02-221-5/+5
| | | | | | TEMPLATES setting. Thanks uranusjr for the report and analysis.
* Fixed a crash of the debug page.Aymeric Augustin2015-02-101-3/+2
| | | | | | | | | | During the autumn DST change, the template engine would fail to convert the naive representation of now when USE_TZ = True. Passing now in UTC eliminates the issue. Thanks mbertheau and tricoder42. Refs #23714.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-0615-37/+56
|
* Caught all exceptions raised by Engine.get_default().Aymeric Augustin2015-02-051-2/+5
| | | | | | In addition to ImproperlyConfigured, Engine.get_default() may also raise ImportError or other exceptions. It's better to catch all exceptions in places where the default engine isn't strictly required.
* Fixed #24149 -- Normalized tuple settings to lists.darkryder2015-02-031-1/+1
|
* Fixed #24263 -- Prevented extra queries on ↵Tim Graham2015-02-031-1/+1
| | | | | | 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-031-0/+2
| | | | | | | | | | | | 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-0/+4
|
* Fixed #24221 - Used precompiled regexp for ↵Tomáš Ehrlich2015-01-261-2/+4
| | | | percent-placeholder matching.
* Changed RedirectView.permanent to False per deprecation ↵Tim Graham2015-01-181-29/+1
| | | | timeline; refs #21587.
* Fixed #24055 -- Keep reference to view class for resolve()Collin Anderson2015-01-171-0/+2
|
* Fixed #24133 -- Replaced formatting syntax in ↵Claude Paroz2015-01-121-2/+19
| | | | | | | success_url placeholders Thanks Laurent Payot for the report, and Markus Holtermann, Tim Graham for the reviews.
* Made debug views not crash when there isn't a default ↵Aymeric Augustin2015-01-121-19/+34
| | | | template engine.
* Deprecated passing a Context to a generic Template.render.Aymeric Augustin2015-01-121-7/+8
| | | | | | | | | | | A deprecation path is required because the return type of django.template.loader.get_template changed during the multiple template engines refactor. test_csrf_token_in_404 was incorrect: it tested the case when the hardcoded template was rendered, and that template doesn't depend on the CSRF token. This commit makes it test the case when a custom template is rendered.
* Fixed #24072 -- Added FileResponse for streaming binary ↵Collin Anderson2015-01-051-3/+2
| | | | files.