from django.conf.urls import patterns, url
from django.views.generic import TemplateView


urlpatterns = patterns('',
        # Form
        url(r'^$',
            'contact.views.contact',
            name='contact_form'),

        url(r'^thanks/$',
            TemplateView.as_view(template_name='contact/thanks.html'),
            name='contact_thanks'),
)

a0964878f75c29202f9122ffe97046d867f9f56d
<mask token>

<mask token>
urlpatterns = patterns('', url('^$', 'contact.views.contact', name=
    'contact_form'), url('^thanks/$', TemplateView.as_view(template_name=
    'contact/thanks.html'), name='contact_thanks'))

from django.conf.urls import patterns, url
from django.views.generic import TemplateView
urlpatterns = patterns('', url('^$', 'contact.views.contact', name=
    'contact_form'), url('^thanks/$', TemplateView.as_view(template_name=
    'contact/thanks.html'), name='contact_thanks'))

from django.conf.urls import patterns, url
from django.views.generic import TemplateView


urlpatterns = patterns('',
        # Form
        url(r'^$',
            'contact.views.contact',
            name='contact_form'),

        url(r'^thanks/$',
            TemplateView.as_view(template_name='contact/thanks.html'),
            name='contact_thanks'),
)
