summaryrefslogtreecommitdiff
path: root/django/views
AgeCommit message (Collapse)Author
2017-11-06[2.0.x] Fixed #28776 -- Fixed a/an/and typos in docs and comments.Дилян Палаузов
Backport of 6c0042430e3618ce5c276d195d92a6b884daa3a3 from master
2017-10-28[2.0.x] Refs #28457 -- Removed unused .next-step CSS in ↵Tim Baxter
django/views/templates/default_urlconf.html. Backport of 73241132f21356f44d77ae23511b7eb122cfab2b from master
2017-10-28[2.0.x] Refs #28457 -- Updated the colors of the 'Congrats' page for WCAG AA ↵Tim Baxter
compliance. Backport of f6b5cecc71d7d429fc33e6b3f7f4e5112f9251af from master
2017-10-24[2.0.x] Fixed #28735 -- Fixed typo in ↵Scot Hacker
django/views/templates/default_urlconf.html. Backport of 6642a646f07a33cf1b807d398824048f3b17631c from master
2017-09-21Fixed #28508 -- Set the foreground color to black in CSRF and 404 error ↵Stefan Sinca
templates.
2017-09-20Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.Sjoerd Job Postmus
Thanks Aymeric Augustin for shepherding the DEP and patch review. Thanks Marten Kenbeek and Tim Graham for contributing to the code. Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better.
2017-09-05Fixed CVE-2017-12794 -- Fixed XSS possibility in traceback section of ↵Tim Graham
technical 500 debug page. This is a security fix.
2017-09-04Fixed #28082 -- Made BaseDateListView pass context from get_dated_items() to ↵Sebastian Sassi
subclasses. Thanks leon-matthews for the report and fix.
2017-08-23Removed unneeded iter() calls.Sergey Fedoseev
A few of these were unnecessarily added in 2b281cc35ed9d997614ca3c416928d7fabfef1ad.
2017-08-21Django -> django when styled as a logo with font. This was pointed out at ↵Allen, Timothy
DjangoCon US.
2017-08-12Fixed #28485 -- Made ExceptionReporter.get_traceback_frames() include frames ↵Martin von Gagern
without source code.
2017-08-07Fixed #28457 -- Updated the design of the 'Congrats' page for new Django ↵Timothy Allen
projects. Developed by Timothy Allen and Chad Whitman of The Wharton School with shepherding from Aymeric Augustin and Collin Anderson.
2017-08-02Refs #7697 -- Removed unnecessary force_escape of technical 500 debug view ↵Tim Graham
"unicode hint". The test passes before and after the removal. unicode_hint will never be SafeText, so normal autoescaping is sufficient.
2017-08-01Removed unneeded escape filter in templates where autoescaping is enabled.Tim Graham
2017-07-06Fixed #28331 -- Added ContextMixin.extra_context to allowing passing context ↵Bruno Alla
in as_view().
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-06-22Refs #16870 -- Doc'd that CSRF protection requires the Referer header.Flávio Juvenal
2017-06-06Fixed #28104 -- Prevented condition decorator from setting ↵Josh Schneier
ETag/Last-Modified headers for non-safe requests.
2017-06-06Fixed #18394 -- Added error for invalid JavaScriptCatalog packagesClaude Paroz
Thanks Tim Graham for the review.
2017-06-05Fixed #28271 -- Added charset to technical_500_response() AJAX response.partizan
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-05-30Fixed #28209 -- Made date-based generic views return a 404 rather than crash ↵Adit Biswas
when given an out of range date.
2017-05-27Fixed #28226 -- Replaced use of str.join() with concatenation.Tom
2017-05-25Fixed #28221 -- Fixed plural fallback translations in JavaScriptCatalog viewClaude Paroz
Thanks Waldemar Kornewald for the report and initial patch.
2017-05-20Refs #28221 -- Honor plural number in JavaScriptCatalogClaude Paroz
2017-05-08Refs #27795 -- Stopped converting integer format settings to str in JS/JSON ↵Claude Paroz
i18n views Thanks Tim Graham for the review.
2017-04-27Refs #27795 -- Replaced many force_text() with str()Claude Paroz
Thanks Tim Graham for the review.
2017-04-25Fixed #28122 -- Fixed crash when overriding views.static.directory_index()'s ↵Tim Graham
template.
2017-04-15Fixed #28079 -- Restored "No POST data" (rather than an empty table) in HTML ↵Tim Graham
debug page. Regression in 7b6dccc82fa5b03cf431742c0655e5ac954e228e
2017-04-14Fixed #28008 -- Replaced getElementsByClassName() JavaScript in debug view ↵Abhishek Gautam
template.
2017-04-12Fixed #28007 -- Moved debug templates to the filesystemClaude Paroz
Thanks Tim Graham for the review.
2017-04-04Fixed CVE-2017-7234 -- Fixed open redirect vulnerability in ↵Tim Graham
views.static.serve(). This is a security fix.
2017-03-28Fixed #27987 -- Added default colors in debug view CSS.Ionuț Ciocîrlan
2017-03-17Fixed #27948 -- Removed incorrect unquote() in static serving views.Tim Graham
2017-03-04Refs #27795 -- Removed unneeded force_text callsClaude Paroz
Thanks Tim Graham for the review.
2017-03-03Refs #27656 -- Updated django.views docstring verbs according to PEP 257.Anton Samarchyan
2017-03-01Fixed #26911 -- Removed NoReverseMatch silencing in RedirectView.Grzegorz Tężycki
2017-02-27Imported django.http classes instead of django.http.Asif Saifuddin Auvi
2017-02-09Refs #23919 -- Removed an used block in ExceptionReporter.get_traceback_data().Tim Graham
The test from refs #20368 only runs this block on Python 2.
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
Thanks Tim Graham for the review.
2017-02-01Removed unused ExceptionReporter.format_exception() method.Tim Graham
Unused since its introduction in e7e4b8b0f774b119bc1c46a62a97e51d7c8a35e3.
2017-02-01Removed ExceptionReporter support for string exceptions.Tim Graham
Reverted refs #6423 since raising string exceptions is prohibited since Python 2.5.
2017-02-01Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.Vytis Banaitis
2017-01-26Refs #23919 -- Replaced usage of django.utils.http utilities with Python ↵Claude Paroz
equivalents Thanks Tim Graham for the review.
2017-01-26Refs #23919, #27778 -- Removed obsolete mentions of unicode.Vytis Banaitis
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-21Refs #23919 -- Removed django.utils.decorators.available_attrs() usage.Tim Graham
It's only needed to workaround a bug on Python 2.
2017-01-20Refs #23919 -- Removed unneeded force_str callsClaude Paroz
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette