Tagged Questions
0
votes
1answer
195 views
Why do I need to repeat method definition while using django.utils.decorators method_decorator in inherited class
Hi I am trying to understand the django.utils.decorators method_decorator decorator.
The method_decorator turns a function decorator into a class method decorator.
The source for this decorator is ...
1
vote
1answer
250 views
Django CBV inheritance: Overriding attributes
I'm creating custom class based views for a Django project and faced a design decision concerning attributes.
Getter functions
I looked at Django's generic views, and saw that there are quite a lot ...