summaryrefslogtreecommitdiff
path: root/django/views
AgeCommit message (Collapse)Author
2019-01-28[2.2.x] Fixed #29825 -- Fixed JS ngettext if the string is a non-plural ↵Claude Paroz
msgid in the catalog. Backport of 16454ac35f6a24a04b23a9340b0d62c33edbc1ea from master.
2019-01-16Refs #30102 -- Added comment on use of Template without placeholders in ↵Carlton Gibson
page_not_found() view.
2019-01-03Fixed #30070, CVE-2019-3498 -- Fixed content spoofing possiblity in the ↵Tom Hacohen
default 404 page. Co-Authored-By: Tim Graham <timograham@gmail.com>
2018-12-21Fixed #29750 -- Added View.setup() hook for class-based views.François Freitag
2018-12-21Fixed #29995 -- Used higher contrast colors in debug page.Zach Garwood
2018-12-21Removed an overridden CSS rule in debug page.Tim Graham
2018-10-29Fixed #29903 -- Added error message for invalid WeekArchiveView week_format.Hasan Ramezani
2018-09-26Refs #29784 -- Switched to https:// links where available.Jon Dufresne
2018-08-22Refs #29654 -- Replaced three dots with ellipsis character in output strings.Claude Paroz
2018-06-27Refs #28457 -- Tweaked colors/layout of the congrats page for readability.Timothy Allen
2018-06-22Fixed #29511 -- Added charset to JavaScriptCatalog's Content-Type header.Tim Graham
2018-06-21Removed views.i18n.null_javascript_catalog().Tim Graham
Unused since de40cfbe74642df1e94c131e1adaa3363173c0cf.
2018-05-15Fixed #16470 -- Allowed FileResponse to auto-set some Content headers.Claude Paroz
Thanks Simon Charette, Jon Dufresne, and Tim Graham for the reviews.
2018-05-04Fixed #26688 -- Fixed HTTP request logging inconsistencies.Samir Shah
* Added logging of 500 responses for instantiated responses. * Added logging of all 4xx and 5xx responses.
2018-04-19Ref #23919 -- Replaced some os.path usage with pathlib.Path.Tom
2018-01-21Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne
2018-01-18Refs #23668 -- Removed passing default argument of current TZ to ↵Jon Dufresne
make_aware()/naive.
2018-01-17Improved generic detail view error message for when pk or slug is missing.Vincent Poulailleau
2018-01-12Fixed #28885 -- Fixed hidden content at the bottom of the "The install ↵Himanshu Chauhan
worked successfully!" page for some languages.
2018-01-03Fixed #28982 -- Simplified code with and/or.Дилян Палаузов
2018-01-03Fixed #28985 -- Removed unneeded None checks before hasattr().Дилян Палаузов
2018-01-03Refs #15902 -- Made set_language() view always set the current language in a ↵Claude Paroz
cookie. The plan is to later deprecate/remove storing the language in the session.
2017-12-06Fixed #28893 -- Removed unnecessary dict.items() calls.Tim Graham
2017-12-04Fixed #28860 -- Removed unnecessary len() calls.Дилян Палаузов
2017-11-14Fixed #28795 -- Removed 'not in' checks and used dict.setdefault().Дилян Палаузов
2017-11-07Fixed #28719 -- Added a helpful exception if ↵Bjorn Kristinsson
MultipleObjectTemplateResponseMixin doesn't generate any template names.
2017-11-06Fixed #28776 -- Fixed a/an/and typos in docs and comments.Дилян Палаузов
2017-10-28Refs #28457 -- Removed unused .next-step CSS in ↵Tim Baxter
django/views/templates/default_urlconf.html.
2017-10-28Refs #28457 -- Updated the colors of the 'Congrats' page for WCAG AA compliance.Tim Baxter
2017-10-24Fixed #28735 -- Fixed typo in django/views/templates/default_urlconf.html.Scot Hacker
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