Tim Graham
|
6e4c6281db
|
Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."
This reverts commit 550cb3a365
because try/except performs better.
|
2017-09-07 08:16:21 -04:00 |
Tim Graham
|
46e2b9e059
|
Fixed CVE-2017-12794 -- Fixed XSS possibility in traceback section of technical 500 debug page.
This is a security fix.
|
2017-09-05 10:58:38 -04:00 |
Sebastian Sassi
|
5848305218
|
Fixed #28082 -- Made BaseDateListView pass context from get_dated_items() to subclasses.
Thanks leon-matthews for the report and fix.
|
2017-09-04 10:55:18 -04:00 |
Sergey Fedoseev
|
f2b93b509c
|
Removed unneeded iter() calls.
A few of these were unnecessarily added in 2b281cc35e .
|
2017-08-23 16:48:29 -04:00 |
Allen, Timothy
|
9229e005aa
|
Django -> django when styled as a logo with font. This was pointed out at DjangoCon US.
|
2017-08-21 08:00:54 +02:00 |
Martin von Gagern
|
71d39571f4
|
Fixed #28485 -- Made ExceptionReporter.get_traceback_frames() include frames without source code.
|
2017-08-12 20:32:39 -04:00 |
Timothy Allen
|
5fe9b7b40a
|
Fixed #28457 -- Updated the design of the 'Congrats' page for new Django projects.
Developed by Timothy Allen and Chad Whitman of The Wharton School with
shepherding from Aymeric Augustin and Collin Anderson.
|
2017-08-07 10:33:55 -04:00 |
Tim Graham
|
293608a2e0
|
Refs #7697 -- Removed unnecessary force_escape of technical 500 debug view "unicode hint".
The test passes before and after the removal. unicode_hint will never
be SafeText, so normal autoescaping is sufficient.
|
2017-08-02 15:16:22 -04:00 |
Tim Graham
|
8df7681d0e
|
Removed unneeded escape filter in templates where autoescaping is enabled.
|
2017-08-01 10:52:29 -04:00 |
Bruno Alla
|
604341c85f
|
Fixed #28331 -- Added ContextMixin.extra_context to allowing passing context in as_view().
|
2017-07-06 10:34:54 -04:00 |
Mads Jensen
|
550cb3a365
|
Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().
|
2017-06-28 14:07:55 -04:00 |
Flávio Juvenal
|
0af14b2eaa
|
Refs #16870 -- Doc'd that CSRF protection requires the Referer header.
|
2017-06-22 11:50:00 -04:00 |
Josh Schneier
|
37c9b81ebc
|
Fixed #28104 -- Prevented condition decorator from setting ETag/Last-Modified headers for non-safe requests.
|
2017-06-06 15:37:14 -04:00 |
Claude Paroz
|
23142eea85
|
Fixed #18394 -- Added error for invalid JavaScriptCatalog packages
Thanks Tim Graham for the review.
|
2017-06-06 18:02:22 +02:00 |
partizan
|
ff099f9db8
|
Fixed #28271 -- Added charset to technical_500_response() AJAX response.
|
2017-06-05 14:43:40 -04:00 |
Jon Dufresne
|
2c69824e5a
|
Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.
|
2017-06-01 19:08:59 -04:00 |
Adit Biswas
|
c2eea61dff
|
Fixed #28209 -- Made date-based generic views return a 404 rather than crash when given an out of range date.
|
2017-05-30 13:20:35 -04:00 |
Tom
|
7afb476469
|
Fixed #28226 -- Replaced use of str.join() with concatenation.
|
2017-05-27 13:59:05 -04:00 |
Claude Paroz
|
2cbb095bec
|
Fixed #28221 -- Fixed plural fallback translations in JavaScriptCatalog view
Thanks Waldemar Kornewald for the report and initial patch.
|
2017-05-25 22:47:21 +02:00 |
Claude Paroz
|
eb66057c1e
|
Refs #28221 -- Honor plural number in JavaScriptCatalog
|
2017-05-20 13:23:54 +02:00 |
Claude Paroz
|
d842ada305
|
Refs #27795 -- Stopped converting integer format settings to str in JS/JSON i18n views
Thanks Tim Graham for the review.
|
2017-05-08 19:32:03 +02:00 |
Claude Paroz
|
301de774c2
|
Refs #27795 -- Replaced many force_text() with str()
Thanks Tim Graham for the review.
|
2017-04-27 09:10:02 +02:00 |
Tim Graham
|
56970c5b61
|
Fixed #28122 -- Fixed crash when overriding views.static.directory_index()'s template.
|
2017-04-25 11:01:21 -04:00 |
Tim Graham
|
8c6a3062dd
|
Fixed #28079 -- Restored "No POST data" (rather than an empty table) in HTML debug page.
Regression in 7b6dccc82f
|
2017-04-15 09:21:35 -04:00 |
Abhishek Gautam
|
941b869135
|
Fixed #28008 -- Replaced getElementsByClassName() JavaScript in debug view template.
|
2017-04-14 08:12:14 -04:00 |
Claude Paroz
|
ea542a9c72
|
Fixed #28007 -- Moved debug templates to the filesystem
Thanks Tim Graham for the review.
|
2017-04-12 11:36:47 -04:00 |
Tim Graham
|
a1f948b468
|
Fixed CVE-2017-7234 -- Fixed open redirect vulnerability in views.static.serve().
This is a security fix.
|
2017-04-04 10:42:06 -04:00 |
Ionuț Ciocîrlan
|
78619bcb0a
|
Fixed #27987 -- Added default colors in debug view CSS.
|
2017-03-28 08:55:16 -04:00 |
Tim Graham
|
b536dcf656
|
Fixed #27948 -- Removed incorrect unquote() in static serving views.
|
2017-03-17 07:55:00 -04:00 |
Claude Paroz
|
8346680e1c
|
Refs #27795 -- Removed unneeded force_text calls
Thanks Tim Graham for the review.
|
2017-03-04 18:18:21 +01:00 |
Anton Samarchyan
|
711123e1cd
|
Refs #27656 -- Updated django.views docstring verbs according to PEP 257.
|
2017-03-03 17:05:42 -05:00 |
Grzegorz Tężycki
|
fede65260a
|
Fixed #26911 -- Removed NoReverseMatch silencing in RedirectView.
|
2017-03-01 15:56:39 -05:00 |
Asif Saifuddin Auvi
|
5f3a689f71
|
Imported django.http classes instead of django.http.
|
2017-02-27 14:47:11 -05:00 |
Tim Graham
|
21f13ff5b3
|
Refs #23919 -- Removed an used block in ExceptionReporter.get_traceback_data().
The test from refs #20368 only runs this block on Python 2.
|
2017-02-09 09:03:28 -05:00 |
Claude Paroz
|
c651331b34
|
Converted usage of ugettext* functions to their gettext* aliases
Thanks Tim Graham for the review.
|
2017-02-07 09:04:04 +01:00 |
Tim Graham
|
597bfcbf8b
|
Removed unused ExceptionReporter.format_exception() method.
Unused since its introduction in e7e4b8b0f7 .
|
2017-02-01 19:55:31 -05:00 |
Tim Graham
|
0205e04ce7
|
Removed ExceptionReporter support for string exceptions.
Reverted refs #6423 since raising string exceptions is prohibited
since Python 2.5.
|
2017-02-01 19:47:39 -05:00 |
Vytis Banaitis
|
8838d4dd49
|
Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.
|
2017-02-01 11:41:56 -05:00 |
Claude Paroz
|
fee42fd99e
|
Refs #23919 -- Replaced usage of django.utils.http utilities with Python equivalents
Thanks Tim Graham for the review.
|
2017-01-26 19:49:03 +01:00 |
Vytis Banaitis
|
d1bab24e01
|
Refs #23919, #27778 -- Removed obsolete mentions of unicode.
|
2017-01-26 08:19:27 -05:00 |
chillaranand
|
d6eaf7c018
|
Refs #23919 -- Replaced super(ClassName, self) with super().
|
2017-01-25 12:23:46 -05:00 |
Tim Graham
|
9e6e32bf5d
|
Refs #23919 -- Removed django.utils.decorators.available_attrs() usage.
It's only needed to workaround a bug on Python 2.
|
2017-01-21 13:20:17 -05:00 |
Claude Paroz
|
dc8834cad4
|
Refs #23919 -- Removed unneeded force_str calls
|
2017-01-20 08:44:31 +01:00 |
Simon Charette
|
cecc079168
|
Refs #23919 -- Stopped inheriting from object to define new style classes.
|
2017-01-19 08:39:46 +01:00 |
Aymeric Augustin
|
3cc5f01d9b
|
Refs #23919 -- Stopped using django.utils.lru_cache().
|
2017-01-18 21:42:40 -05:00 |
Claude Paroz
|
2b281cc35e
|
Refs #23919 -- Removed most of remaining six usage
Thanks Tim Graham for the review.
|
2017-01-18 21:33:28 +01:00 |
Claude Paroz
|
7b2f2e74ad
|
Refs #23919 -- Removed six.<various>_types usage
Thanks Tim Graham and Simon Charette for the reviews.
|
2017-01-18 20:18:46 +01:00 |
Claude Paroz
|
c716fe8782
|
Refs #23919 -- Removed six.PY2/PY3 usage
Thanks Tim Graham for the review.
|
2017-01-18 16:21:28 +01:00 |
Claude Paroz
|
d7b9aaa366
|
Refs #23919 -- Removed encoding preambles and future imports
|
2017-01-18 09:55:19 +01:00 |
Tim Graham
|
d334f46b7a
|
Refs #26601 -- Removed support for old-style middleware using settings.MIDDLEWARE_CLASSES.
|
2017-01-17 20:52:04 -05:00 |