| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-07-23 | Removed double spaces after periods and within phrases. | Sarah Boyce | |
| 2024-01-26 | Applied Black's 2024 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/24.1.0 | |||
| 2023-02-17 | Fixed #34343 -- Moved built-in templates to filesystem. | Nick Pope | |
| 2022-03-15 | Removed outdated handling of length parameter to If-Modified-Since header. | Mariusz Felisiak | |
| The length parameter is not described in RFC-7232 and it's against HTTP/1.0 and HTTP/1.1 specifications. It was an old and unofficial extension set by some ancient versions of IE. | |||
| 2022-03-11 | Fixed #33571 -- Fixed static serving views crash when If-Modified-Since is ↵ | Collin Anderson | |
| empty. Regression in d6aff369ad33457ae2355b5b210faf1c4890ff35. | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2020-09-14 | Fixed #31789 -- Added a new headers interface to HttpResponse. | Tom Carrick | |
| 2020-05-11 | Refs #30116 -- Simplified regex match group access with Match.__getitem__(). | Jon Dufresne | |
| The method has been available since Python 3.6. The shorter syntax is also marginally faster. | |||
| 2019-12-18 | Refs #30585 -- Updated project templates and tests to use (block)translate tags. | Mike Hansen | |
| 2019-06-28 | Fixed #30400 -- Improved typography of user facing strings. | Jon Dufresne | |
| Thanks Claude Paroz for assistance with translations. | |||
| 2019-05-13 | Refs #28593 -- Changed url() to path() in comments following URL routing ↵ | Tobias Bengfort | |
| changes. | |||
| 2018-05-15 | Fixed #16470 -- Allowed FileResponse to auto-set some Content headers. | Claude Paroz | |
| Thanks Simon Charette, Jon Dufresne, and Tim Graham for the reviews. | |||
| 2018-04-19 | Ref #23919 -- Replaced some os.path usage with pathlib.Path. | Tom | |
| 2018-01-21 | Fixed #29038 -- Removed closing slash from HTML void tags. | Jon Dufresne | |
| 2017-04-25 | Fixed #28122 -- Fixed crash when overriding views.static.directory_index()'s ↵ | Tim Graham | |
| template. | |||
| 2017-04-04 | Fixed CVE-2017-7234 -- Fixed open redirect vulnerability in ↵ | Tim Graham | |
| views.static.serve(). This is a security fix. | |||
| 2017-03-17 | Fixed #27948 -- Removed incorrect unquote() in static serving views. | Tim Graham | |
| 2017-02-07 | Converted usage of ugettext* functions to their gettext* aliases | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-08-10 | Fixed #26973 -- Fixed views.static.serve() crash with show_indexes enabled. | Tim Graham | |
| 2015-08-08 | Refs #25236 -- Removed ifequal/ifnotequal usage. | Tim Graham | |
| 2015-02-22 | Fixed a few uses of Template that relied on a default engine. | Aymeric Augustin | |
| Refs #24389. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-01-05 | Fixed #24072 -- Added FileResponse for streaming binary files. | Collin Anderson | |
| 2014-08-12 | Fixed #23276 -- Deprecated passing views as strings to url(). | Tim Graham | |
| 2013-11-04 | Merge pull request #1821 from Bouke/tickets/14170 | Aymeric Augustin | |
| #14170 -- Reset i18n cache when settings changed | |||
| 2013-11-03 | Fixed #14170 -- Reset i18n cache when settings change | Bouke Haarsma | |
| 2013-11-02 | Correct flake8 E302 violations | Ray Ashman Jr | |
| 2013-10-26 | Fixed all the E203 violations | Alex Gaynor | |
| 2013-09-05 | Took advantage of django.utils.six.moves.urllib.*. | Aymeric Augustin | |
| 2013-06-29 | Removed compatibility code for streaming responses. | Aymeric Augustin | |
| This code provided a deprecation path for old-style streaming responses. Refs #6527, #7581. | |||
| 2013-01-24 | Minor optimization in the static serve view. | Aymeric Augustin | |
| 2012-10-20 | Fixed #7581 -- Added streaming responses. | Aymeric Augustin | |
| Thanks mrmachine and everyone else involved on this long-standing ticket. | |||
| 2012-09-26 | Fixed #18675 -- Fixed was_modified_since with floating-point mtime | Claude Paroz | |
| Thanks Simon Charette for the patch. | |||
| 2012-08-22 | Fixed #11340 -- Prevented HttpResponseNotModified to have content/content-type | Claude Paroz | |
| The HTTP 1.1 spec tells that the 304 response MUST NOT contain a message body. Thanks aparajita for the report. | |||
| 2012-07-22 | [py3] Updated urllib/urllib2/urlparse imports. | Aymeric Augustin | |
| Lots of functions were moved. Use explicit imports in all cases to keey it easy to identify where the functions come from. | |||
| 2012-06-30 | Removed usage of mimetype kwarg of HttpResponse | Claude Paroz | |
| Refs #16519. | |||
| 2012-06-07 | Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. | Claude Paroz | |
| Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review. | |||
| 2012-03-30 | Removed with_statement imports, useless in Python >= 2.6. Refs #17965. ↵ | Claude Paroz | |
| Thanks jonash for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17828 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2012-03-05 | Updated core base translation files with new strings. Refs #17822. | Jannis Leidel | |
| git-svn-id: http://code.djangoproject.com/svn/django/trunk@17655 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2012-02-04 | Fixed #17458 -- Marked Http404 error messages for translation. Thanks, ↵ | Jannis Leidel | |
| Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17447 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2011-05-27 | Explicitly close a file in the static serve view. Thanks to Benjamin ↵ | Alex Gaynor | |
| Peterson for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16282 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2011-04-20 | Switched to HTML5 doctype in all Django supplied templates. | Luke Plant | |
| git-svn-id: http://code.djangoproject.com/svn/django/trunk@16050 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2011-04-04 | Fixed #15613: Don't send content-length headers for non-regular files. ↵ | Andrew Godwin | |
| Thanks to jaylett. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16014 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2011-03-02 | Fixed #15531 -- Partially reverted [15701] due to compatibility issues with ↵ | Jannis Leidel | |
| middlewares that modify content of responses. Thanks for the report, schinckel. Refs #15281. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15703 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2011-03-01 | Fixed #15281 -- Made the static view use an iterator when serving a file, ↵ | Jannis Leidel | |
| effectively making this less of a memory hog. Also use the appropriate attributes of the stat object instead of indexes. Thanks for the initial patch, FunkyBob and aaugustin. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15701 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2011-03-01 | Fixed #717 - If-Modified-Since handling should compare dates according to ↵ | Luke Plant | |
| RFC 2616 Thanks to Maniac for the report, julienb for the initial patch, and especially to aaugustin for the final patch and tests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15696 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2011-02-14 | Fixes #15270 -- Moved back the serve view to django.views.static due to ↵ | Jannis Leidel | |
| dependency conflicts with the contrib app staticfiles (reverts parts of r14293). Added a helper function that generates URL patterns for serving static and media files during development. Thanks to Carl for reviewing the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15530 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2010-11-17 | Fixed #14693, #14709 -- Backwards incompatible change to rectify the ↵ | Jannis Leidel | |
| confusion around the STATICFILES_URL and STATICFILES_ROOT settings. * Two new global settings that will be used by -- **but are not limited to** -- the staticfiles app: STATIC_ROOT and STATIC_URL. * Moving the 'django.contrib.staticfiles.templatetags.staticfiles' template tag to the core ('django.templatetags.static') and renaming it to 'get_static_prefix'. * Moving the context processor 'django.contrib.staticfiles.context_processors.staticfiles' to the core ('django.core.context_processors.static') and renaming it to 'static'. * Paths in media definitions will use STATIC_URL as the prefix if the value is not None, and falls back to the previously used MEDIA_URL. Thanks again to the community for constructive criticism and Carl and Russ for sanity-inducing discussions on IRC. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14592 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
