Commit 2803b1f8 authored by carlosribas's avatar carlosribas
Browse files

Use TemplateView for contact page

parent c2e7c135
...@@ -66,7 +66,7 @@ urlpatterns = [ ...@@ -66,7 +66,7 @@ urlpatterns = [
# API documentation # API documentation
url(r'^api/?$', views.StaticView.as_view(), {'page': 'help/api-v1'}, name='api-docs'), url(r'^api/?$', views.StaticView.as_view(), {'page': 'help/api-v1'}, name='api-docs'),
# contact us # contact us
url(r'^contact/?$', views.ContactView.as_view(), name='contact-us'), url(r'^contact/?$', TemplateView.as_view(template_name='portal/contact.html'), name='contact-us'),
# contact us success # contact us success
url(r'^thanks/?$', views.StaticView.as_view(), {'page': 'thanks'}, name='contact-us-success'), url(r'^thanks/?$', views.StaticView.as_view(), {'page': 'thanks'}, name='contact-us-success'),
# error # error
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment