Change list function to ListView class
Change detail url

Change detail url to /post/article/<id> due to list pagination url overlapping.
Change detail function to DetailView class
Change add function to AddView class
Change edit function to EditView class