Revision 2e94f19b
Added by Benjamin Dauvergne over 12 years ago
calebasse/cbv.py | ||
---|---|---|
78 | 78 |
class UpdateView(ModelNameMixin, ServiceViewMixin, edit.UpdateView): |
79 | 79 |
pass |
80 | 80 |
|
81 |
class FormView(ServiceViewMixin, edit.FormView): |
|
82 |
pass |
|
83 |
|
|
81 | 84 |
class ContextMixin(object): |
82 | 85 |
""" |
83 | 86 |
A default context mixin that passes the keyword arguments received by |
Also available in: Unified diff
cbv: add a calebasse FormView subclass