
from django.conf.urls import url, include
from . import views

urlpatterns = [
    url(r'^$', views.index),
    url(r'^register$', views.register),
    url(r'^login$', views.login),
    url(r'^success$', views.success),
    url(r'^logout$', views.logout),
    url(r'^add_message$', views.add_message),
    url(r'^message/delete/(?P<id>\d+)$', views.delete_message),
    url(r'^comment$', views.comment),
]