def post(self, request, *args, **kwargs):
self.object = self.get_object()<EOL>self.object.content = request.POST['<STR_LIT:content>']<EOL>self.object.title = request.POST['<STR_LIT:title>']<EOL>self.object = self._mark_html_fields_as_safe(self.object)<EOL>context = self.get_context_data(object=self.object)<EOL>return self.render_to_response(context, content_type=self.get_mimetype())<EOL>
Accepts POST requests, and substitute the data in for the page's attributes.