7 ms·
How do you add decorators to a class based view? I find this annoying: dashboard = login_required(DashboardView.as_view()) Takes the fun out of decorators
by tuxcanfly 15y ago
How do you add decorators to a class based view? I find this annoying:
dashboard = login_required(DashboardView.as_view())
Takes the fun out of decorators for me.
- izak30 15y agohttps://gist.github.com/1075119 https://gist.github.com/1075119