django1/django/views
William Schwartz 9ee693bd6c Fixed #32316 -- Deferred accessing __file__.
Deferred accessing the module-global variable __file__ because the
Python import API does not guarantee it always exists—in particular, it
does not exist in certain "frozen" environments. The following changes
advanced this goal.

Thanks to Carlton Gibson, Tom Forbes, Mariusz Felisiak, and Shreyas
Ravi for review and feedback.
2021-04-01 14:33:30 +02:00
..
decorators Refs #32468 -- Added error message on invalid usage of cache decorators. 2021-02-24 10:13:51 +01:00
generic Fixed #32260 -- Made View.as_view() do not use update_wrapper(). 2021-03-30 07:58:09 +02:00
templates Improved bidirectionality on the 'Congrats' page. 2020-11-24 13:03:35 +01:00
__init__.py Fixed #25385 -- Allowed importing views.generic.View from views.View. 2016-01-11 08:18:44 -05:00
csrf.py Bumped minimum isort version to 5.1.0. 2020-07-30 10:58:59 +02:00
debug.py Fixed #32316 -- Deferred accessing __file__. 2021-04-01 14:33:30 +02:00
defaults.py Fixed #32480 -- Corrected docstring and removed redundant comments in django/views/defaults.py. 2021-02-24 21:32:37 +01:00
i18n.py Fixed #32345 -- Fixed preserving encoded query strings in set_language() view. 2021-01-29 11:58:43 +01:00
static.py Fixed #31789 -- Added a new headers interface to HttpResponse. 2020-09-14 08:41:59 +02:00