1 from django.conf.urls import patterns, include, url
3 from .views import AddPostView, EditPostView
6 urlpatterns = patterns('',
7 url(r'^forum/(?P<forum_id>\d+)/topic/add/$', AddPostView.as_view()),
8 url(r'^post/(?P<pk>\d+)/edit/$', EditPostView.as_view()),