PageRenderTime 15ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/feincms/views/generic/create_update.py

http://github.com/feincms/feincms
Python | 8 lines | 5 code | 3 blank | 0 comment | 0 complexity | 531e6c21a5fbdbb72f0d38763a20891b MD5 | raw file
1from django.views.generic import create_update
2from feincms.views.decorators import add_page_to_extra_context
3
4
5create_object = add_page_to_extra_context(create_update.create_object)
6update_object = add_page_to_extra_context(create_update.update_object)
7delete_object = add_page_to_extra_context(create_update.delete_object)
8