from django.conf.urls import url, include
from .views import forums, view_forum, create_or_edit_forum, forum_upvote, create_or_edit_forumcomment

urlpatterns = [
    url(r'^$', forums, name='forums'),
    url(r'^view/(?P<id>\d+)', view_forum, name='view_forum'),
    url(r'^new/$', create_or_edit_forum, name='new_forum'),
    url(r'^(?P<pk>\d+)/edit/$', create_or_edit_forum, name='edit_forum'),
    url(r'^(?P<pk>\d+)/upvote/$', forum_upvote, name='forum_upvote'),
    url(r'^new-comment/(?P<id>\d+)', create_or_edit_forumcomment, name='new_forumcomment'),
]

526670aad9e55b04330eacce82d1828aedaa5a3d
<mask token>

<mask token>
urlpatterns = [url('^$', forums, name='forums'), url('^view/(?P<id>\\d+)',
    view_forum, name='view_forum'), url('^new/$', create_or_edit_forum,
    name='new_forum'), url('^(?P<pk>\\d+)/edit/$', create_or_edit_forum,
    name='edit_forum'), url('^(?P<pk>\\d+)/upvote/$', forum_upvote, name=
    'forum_upvote'), url('^new-comment/(?P<id>\\d+)',
    create_or_edit_forumcomment, name='new_forumcomment')]

from django.conf.urls import url, include
from .views import forums, view_forum, create_or_edit_forum, forum_upvote, create_or_edit_forumcomment
urlpatterns = [url('^$', forums, name='forums'), url('^view/(?P<id>\\d+)',
    view_forum, name='view_forum'), url('^new/$', create_or_edit_forum,
    name='new_forum'), url('^(?P<pk>\\d+)/edit/$', create_or_edit_forum,
    name='edit_forum'), url('^(?P<pk>\\d+)/upvote/$', forum_upvote, name=
    'forum_upvote'), url('^new-comment/(?P<id>\\d+)',
    create_or_edit_forumcomment, name='new_forumcomment')]

from django.conf.urls import url, include
from .views import forums, view_forum, create_or_edit_forum, forum_upvote, create_or_edit_forumcomment

urlpatterns = [
    url(r'^$', forums, name='forums'),
    url(r'^view/(?P<id>\d+)', view_forum, name='view_forum'),
    url(r'^new/$', create_or_edit_forum, name='new_forum'),
    url(r'^(?P<pk>\d+)/edit/$', create_or_edit_forum, name='edit_forum'),
    url(r'^(?P<pk>\d+)/upvote/$', forum_upvote, name='forum_upvote'),
    url(r'^new-comment/(?P<id>\d+)', create_or_edit_forumcomment, name='new_forumcomment'),
]
