Jan Dittberner
385838580b
- implement contact_form.forms.ContactForm - implement contact_form.views.ContactFormView and contact_form.views.ContactSuccessView - add new URL patterns 'contact_form' and 'contact_success' in contact_form.urls - add contact_form templates base.html, contact_form.html, contact_form.txt, contact_form_subject.txt and contact_success.html - add german translation for new strings - add contact_form to .coveragerc - add generated code documentation for contact_form app - add changelog entry
19 lines
398 B
Python
19 lines
398 B
Python
"""
|
|
URL patterns for the contact_form views.
|
|
|
|
"""
|
|
from __future__ import absolute_import, unicode_literals
|
|
|
|
from django.conf.urls import patterns, url
|
|
|
|
from .views import (
|
|
ContactFormView,
|
|
ContactSuccessView,
|
|
)
|
|
|
|
|
|
urlpatterns = patterns(
|
|
'',
|
|
url(r'^$', ContactFormView.as_view(), name='contact_form'),
|
|
url(r'^success/$', ContactSuccessView.as_view(), name='contact_success'),
|
|
)
|