from django.conf.urls import include, url
from django.contrib import admin
from . import views
from . import forms
from django.contrib.auth import views as auth_views

urlpatterns = [
    # landing page
    url(r'^$', views.index, name='index'),
    
    # members
    url(r'^members/', include('members.urls')),
    url(r'^members/password_reset/$', views.ExtraContextPasswordResetView.as_view(form_class = forms.ActivationEmailPasswordResetForm), name='password_reset'),
    url(r'^members/login/$', auth_views.LoginView.as_view(form_class = forms.ActivationEmailAuthenticationForm), name='login'),
    url(r'^members/', include('django.contrib.auth.urls')),
    
    # admin
    url(r'^admin/', include('members.adminurls')),
    url(r'^tinymce/', include('tinymce.urls')),
    url(r'^admin/', admin.site.urls),
    url(r'^nested_admin/', include('nested_admin.urls')),
    
    # democracy review
    url(r'^review/', include('review.urls')),
    
    # error testing
    url(r'^error/$', views.error, name='error'),
    
    # GDPR
    url(r'^reconsent/$', views.reconsent, name='reconsent'),
    url(r'^reconsent_complete/$', views.reconsent_complete, name='reconsent_complete'),
    
    # voting intentions
    url(r'^voting_intentions/', include('voting_intentions.urls')),
    
    # consultations
    url(r'^consultations/', include('consultations.urls')),
    
    # task queueing
    url(r'^django-rq/', include('django_rq.urls')),
    
    # short URL redirects so that the links can be used in SMS
    url(r'^u/(?P<unique_token>[a-zA-Z0-9]+)/$', views.redirect_to_update_details, name = 'redirect_to_update_details'),
    
    # NCG voting redirect
    url(r'^ncg_election/$', views.ncg_election, name = 'ncg_election'),
    url(r'^questions/', include('questions.urls'))
]
be5556fd72e984bae6c41690d05d0ce82642ec8c
<mask token>

<mask token>
urlpatterns = [url('^$', views.index, name='index'), url('^members/',
    include('members.urls')), url('^members/password_reset/$', views.
    ExtraContextPasswordResetView.as_view(form_class=forms.
    ActivationEmailPasswordResetForm), name='password_reset'), url(
    '^members/login/$', auth_views.LoginView.as_view(form_class=forms.
    ActivationEmailAuthenticationForm), name='login'), url('^members/',
    include('django.contrib.auth.urls')), url('^admin/', include(
    'members.adminurls')), url('^tinymce/', include('tinymce.urls')), url(
    '^admin/', admin.site.urls), url('^nested_admin/', include(
    'nested_admin.urls')), url('^review/', include('review.urls')), url(
    '^error/$', views.error, name='error'), url('^reconsent/$', views.
    reconsent, name='reconsent'), url('^reconsent_complete/$', views.
    reconsent_complete, name='reconsent_complete'), url(
    '^voting_intentions/', include('voting_intentions.urls')), url(
    '^consultations/', include('consultations.urls')), url('^django-rq/',
    include('django_rq.urls')), url('^u/(?P<unique_token>[a-zA-Z0-9]+)/$',
    views.redirect_to_update_details, name='redirect_to_update_details'),
    url('^ncg_election/$', views.ncg_election, name='ncg_election'), url(
    '^questions/', include('questions.urls'))]

from django.conf.urls import include, url
from django.contrib import admin
from . import views
from . import forms
from django.contrib.auth import views as auth_views
urlpatterns = [url('^$', views.index, name='index'), url('^members/',
    include('members.urls')), url('^members/password_reset/$', views.
    ExtraContextPasswordResetView.as_view(form_class=forms.
    ActivationEmailPasswordResetForm), name='password_reset'), url(
    '^members/login/$', auth_views.LoginView.as_view(form_class=forms.
    ActivationEmailAuthenticationForm), name='login'), url('^members/',
    include('django.contrib.auth.urls')), url('^admin/', include(
    'members.adminurls')), url('^tinymce/', include('tinymce.urls')), url(
    '^admin/', admin.site.urls), url('^nested_admin/', include(
    'nested_admin.urls')), url('^review/', include('review.urls')), url(
    '^error/$', views.error, name='error'), url('^reconsent/$', views.
    reconsent, name='reconsent'), url('^reconsent_complete/$', views.
    reconsent_complete, name='reconsent_complete'), url(
    '^voting_intentions/', include('voting_intentions.urls')), url(
    '^consultations/', include('consultations.urls')), url('^django-rq/',
    include('django_rq.urls')), url('^u/(?P<unique_token>[a-zA-Z0-9]+)/$',
    views.redirect_to_update_details, name='redirect_to_update_details'),
    url('^ncg_election/$', views.ncg_election, name='ncg_election'), url(
    '^questions/', include('questions.urls'))]

from django.conf.urls import include, url
from django.contrib import admin
from . import views
from . import forms
from django.contrib.auth import views as auth_views

urlpatterns = [
    # landing page
    url(r'^$', views.index, name='index'),
    
    # members
    url(r'^members/', include('members.urls')),
    url(r'^members/password_reset/$', views.ExtraContextPasswordResetView.as_view(form_class = forms.ActivationEmailPasswordResetForm), name='password_reset'),
    url(r'^members/login/$', auth_views.LoginView.as_view(form_class = forms.ActivationEmailAuthenticationForm), name='login'),
    url(r'^members/', include('django.contrib.auth.urls')),
    
    # admin
    url(r'^admin/', include('members.adminurls')),
    url(r'^tinymce/', include('tinymce.urls')),
    url(r'^admin/', admin.site.urls),
    url(r'^nested_admin/', include('nested_admin.urls')),
    
    # democracy review
    url(r'^review/', include('review.urls')),
    
    # error testing
    url(r'^error/$', views.error, name='error'),
    
    # GDPR
    url(r'^reconsent/$', views.reconsent, name='reconsent'),
    url(r'^reconsent_complete/$', views.reconsent_complete, name='reconsent_complete'),
    
    # voting intentions
    url(r'^voting_intentions/', include('voting_intentions.urls')),
    
    # consultations
    url(r'^consultations/', include('consultations.urls')),
    
    # task queueing
    url(r'^django-rq/', include('django_rq.urls')),
    
    # short URL redirects so that the links can be used in SMS
    url(r'^u/(?P<unique_token>[a-zA-Z0-9]+)/$', views.redirect_to_update_details, name = 'redirect_to_update_details'),
    
    # NCG voting redirect
    url(r'^ncg_election/$', views.ncg_election, name = 'ncg_election'),
    url(r'^questions/', include('questions.urls'))
]