@classonlymethod<EOL><INDENT>def update(cls):<DEDENT>
class NewPopupUpdateView(PopupUpdateView, cls.parent_class):<EOL><INDENT>model = cls.model<EOL>form_class = cls.form_class<EOL>popup_name = cls.get_class_verbose_name()<EOL>template_name = cls.get_template_name_update()<EOL>permission_required = cls.get_permission_required('<STR_LIT>')<EOL>def get_context_data(self, **kwargs):<EOL><INDENT>kwargs.update(cls.context_for_all)<EOL>kwargs.update(cls.context_for_update)<EOL>return super(NewPopupUpdateView, self).get_context_data(**kwargs)<EOL><DEDENT><DEDENT>return NewPopupUpdateView<EOL>
Returns the update view that can be specified as the second argument
to url() in urls.py.