<gh_stars>1-10
from django.conf.urls import patterns, include, url

from notorhot.contrib.write_in.views import WriteInDefaultView, WriteInThanksView

urlpatterns = patterns('',    
    url(r'^$', WriteInDefaultView.as_view(), name='write_in_submit'),
    url(r'^(?P<category_slug>[\w-]+)/thanks/$', WriteInThanksView.as_view(), name='write_in_thanks'),
    url(r'^(?P<category_slug>[\w-]+)/$', WriteInDefaultView.as_view(), name='write_in_submit'),
)
