#14512: Documentation & tools for decorating class-based-views.
-----------------------------------+------------------------------------
Reporter: lrekucki | Owner: lrekucki
Type: New feature | Status: reopened
Component: Generic views | Version: master
Severity: Normal | Resolution:
Keywords: class-based-views | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+------------------------------------
Comment (by daenney):
Anything still happening on this front?
There's a few mixin's laying around on djangosnippets and in third-party
packages such as `django-guardian` and `django-braces` that usually do
something like this:
{{{#!python
class SomeDecoratorMixin(object):
@method_decorator(some_decorator)
def dispatch(self, *args, **kwargs):
return super(SomeDecoratorMixin, self).dispatch(*args, **kwargs)
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/14512#comment:23>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.