from django.conf.urls import url, patterns
from .views import MessageCreateView, MessageListView

urlpatterns = patterns(
    '',
    url(r'^add/$', MessageCreateView.as_view(), name='add'),
    url(r'^$', MessageListView.as_view(), name='list'),
)

95bb8c9785770152029b6ced3e6a59220d81540a
<mask token>

<mask token>
urlpatterns = patterns('', url('^add/$', MessageCreateView.as_view(), name=
    'add'), url('^$', MessageListView.as_view(), name='list'))

from django.conf.urls import url, patterns
from .views import MessageCreateView, MessageListView
urlpatterns = patterns('', url('^add/$', MessageCreateView.as_view(), name=
    'add'), url('^$', MessageListView.as_view(), name='list'))

from django.conf.urls import url, patterns
from .views import MessageCreateView, MessageListView

urlpatterns = patterns(
    '',
    url(r'^add/$', MessageCreateView.as_view(), name='add'),
    url(r'^$', MessageListView.as_view(), name='list'),
)
