is it possible to use class based view instead of function based view wagtail?
问题 i'm still struggling to integrate django wagtail to an existing project. i'm only using wagtail for my blog page. and i want to create a form to create new post for my blog from my wagtail page. the way i create this is using an routablepage. here's some of my code i'm using this as my reference models.py class BlogIndex(RoutablePageMixin, Page): ... @route(r'^send-post/$', name='send_posts') def submit(self, request): from .views import submit_news return submit_news(request, self) ... class