AddressFormView, WeDontKnowView, campaign_signup ) # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() core_patterns = patterns( '', url(r'^postcode/(?P<postcode>.+)/$', PostcodeView.as_view(), name='postcode_view'), url(r'^address/(?P<address_slug>.+)/$', AddressView.as_view(), name='address_view'), url(r'^we_dont_know/(?P<postcode>.+)/$', WeDontKnowView.as_view(), name='we_dont_know'), url(r'^address_select/(?P<postcode>.+)/$', AddressFormView.as_view(), name='address_select_view'), url(r'^campaign_signup/(?P<postcode>.+)/$', 'data_finder.views.campaign_signup', name='campaign_signup'), url(r'^$', HomeView.as_view(), name='home'), url(r'^privacy/$', PrivacyView.as_view(), name='privacy_view'), url(r'^robots\.txt$', TemplateView.as_view( template_name='robots.txt', content_type='text/plain')), ) extra_patterns = patterns( '', url(r'^i18n/', include('django.conf.urls.i18n')),
AddressView, AddressFormView, WeDontKnowView, MultipleCouncilsView, ) from pollingstations.views import status_check admin.autodiscover() core_patterns = [ url(r"^status_check/$", status_check, name="status_check"), url(r"^postcode/(?P<postcode>.+)/$", PostcodeView.as_view(), name="postcode_view"), url(r"^postcode/$", PostcodeView.as_view(), name="postcode_view_alias"), url(r"^address/(?P<uprn>.+)/$", AddressView.as_view(), name="address_view"), url( r"^we_dont_know/(?P<postcode>.+)/$", WeDontKnowView.as_view(), name="we_dont_know", ), url( r"^multiple_councils/(?P<postcode>.+)/$", MultipleCouncilsView.as_view(), name="multiple_councils_view", ), url( r"^address_select/(?P<postcode>.+)/$", AddressFormView.as_view(), name="address_select_view",
AddressFormView, WeDontKnowView, MultipleCouncilsView, ) from pollingstations.views import status_check admin.autodiscover() core_patterns = [ url(r"^status_check/$", status_check, name="status_check"), url(r"^postcode/(?P<postcode>.+)/$", PostcodeView.as_view(), name="postcode_view"), url(r"^postcode/$", PostcodeView.as_view(), name="postcode_view_alias"), url(r"^address/(?P<address_slug>.+)/$", AddressView.as_view(), name="address_view"), url( r"^we_dont_know/(?P<postcode>.+)/$", WeDontKnowView.as_view(), name="we_dont_know", ), url( r"^multiple_councils/(?P<postcode>.+)/$", MultipleCouncilsView.as_view(), name="multiple_councils_view", ), url( r"^address_select/(?P<postcode>.+)/$", AddressFormView.as_view(), name="address_select_view",