def post(self, request, *args, **kwargs):
        """
        Accepts POST requests, and substitute the data in for the page's attributes.
        """
        self.object = self.get_object()
        self.object.content = request.POST['content']
        self.object.title = request.POST['title']

        self.object = self._mark_html_fields_as_safe(self.object)
        context = self.get_context_data(object=self.object)
        return self.render_to_response(context, content_type=self.get_mimetype())
Accepts POST requests, and substitute the data in for the page's attributes.