The following pull request implements this feature.
--
Ticket URL: <https://code.djangoproject.com/ticket/23388>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
Here is the pull request: https://github.com/django/django/pull/3141
--
Ticket URL: <https://code.djangoproject.com/ticket/23388#comment:1>
* owner: nobody => aaugustin
* status: new => assigned
* stage: Unreviewed => Accepted
Comment:
Good idea, the patch looks good too.
--
Ticket URL: <https://code.djangoproject.com/ticket/23388#comment:2>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"032c091659666ea63f80f4c2d7f9b8bc72214f18"]:
{{{
#!CommitTicketReference repository=""
revision="032c091659666ea63f80f4c2d7f9b8bc72214f18"
Fixed #23388 -- Made django.utils.timezone.override usable as a decorator
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23388#comment:3>