from django.conf.urls import url, include
from . import views
from .forms import SignupForm, LoginForm
from home.forms import LoginForm
from django.views.generic import TemplateView
from django.contrib.auth import views as auth_views
from django.urls import path


urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^signup/$', views.signup, name='signup'),
    url(r'^signup_ok/$', views.signup_ok, name='signup_ok'),
    url(r'^login/$', auth_views.LoginView.as_view(), {'template_name': 'home/registration/login.html', 'authentication_form': LoginForm}, name='login'),
    #url(r'^logout/$', auth_views.LogoutView, {'next_page':'/'}, name='logout'),
    url(r'^logout/$', auth_views.LogoutView.as_view(), {'next_page':'settings.LOGOUT_REDIRECT_URL'}, name='logout'),

    # url(r'^login/$', views.loginview, name='login'),
    # url(r'^logout/$', views.logoutview, name='logout'),
    url(r'^introduction/$', views.introduction, name='introduction'),
    url(r'^application/$', views.application, name='application'),
    url(r'^invitation/$', views.invitation, name='invitation'),
    url(r'^psjwedding/$', views.wedding, name='wedding'),
    url(r'^psjwedding/w_1$', views.w_1, name='w_1'),
    url(r'^psjwedding/w_2$', views.w_2, name='w_2'),
    url(r'^psjwedding/w_3$', views.w_3, name='w_3'),
    url(r'^psjwedding/w_4$', views.w_4, name='w_4'),
    url(r'^psjwedding/w_5$', views.w_5, name='w_5'),
    url(r'^psjwedding/w_6$', views.w_6, name='w_6'),
	# url(r'^wedding/w_1$', TemplateView.as_view(template_name="wedding/w_1.html"), name='w_1'),
]
6ed0584f514a1e48a3c1b9c2e427177c5d82a894
<mask token>

<mask token>
urlpatterns = [url('^$', views.index, name='index'), url('^signup/$', views
    .signup, name='signup'), url('^signup_ok/$', views.signup_ok, name=
    'signup_ok'), url('^login/$', auth_views.LoginView.as_view(), {
    'template_name': 'home/registration/login.html', 'authentication_form':
    LoginForm}, name='login'), url('^logout/$', auth_views.LogoutView.
    as_view(), {'next_page': 'settings.LOGOUT_REDIRECT_URL'}, name='logout'
    ), url('^introduction/$', views.introduction, name='introduction'), url
    ('^application/$', views.application, name='application'), url(
    '^invitation/$', views.invitation, name='invitation'), url(
    '^psjwedding/$', views.wedding, name='wedding'), url('^psjwedding/w_1$',
    views.w_1, name='w_1'), url('^psjwedding/w_2$', views.w_2, name='w_2'),
    url('^psjwedding/w_3$', views.w_3, name='w_3'), url('^psjwedding/w_4$',
    views.w_4, name='w_4'), url('^psjwedding/w_5$', views.w_5, name='w_5'),
    url('^psjwedding/w_6$', views.w_6, name='w_6')]

from django.conf.urls import url, include
from . import views
from .forms import SignupForm, LoginForm
from home.forms import LoginForm
from django.views.generic import TemplateView
from django.contrib.auth import views as auth_views
from django.urls import path
urlpatterns = [url('^$', views.index, name='index'), url('^signup/$', views
    .signup, name='signup'), url('^signup_ok/$', views.signup_ok, name=
    'signup_ok'), url('^login/$', auth_views.LoginView.as_view(), {
    'template_name': 'home/registration/login.html', 'authentication_form':
    LoginForm}, name='login'), url('^logout/$', auth_views.LogoutView.
    as_view(), {'next_page': 'settings.LOGOUT_REDIRECT_URL'}, name='logout'
    ), url('^introduction/$', views.introduction, name='introduction'), url
    ('^application/$', views.application, name='application'), url(
    '^invitation/$', views.invitation, name='invitation'), url(
    '^psjwedding/$', views.wedding, name='wedding'), url('^psjwedding/w_1$',
    views.w_1, name='w_1'), url('^psjwedding/w_2$', views.w_2, name='w_2'),
    url('^psjwedding/w_3$', views.w_3, name='w_3'), url('^psjwedding/w_4$',
    views.w_4, name='w_4'), url('^psjwedding/w_5$', views.w_5, name='w_5'),
    url('^psjwedding/w_6$', views.w_6, name='w_6')]

from django.conf.urls import url, include
from . import views
from .forms import SignupForm, LoginForm
from home.forms import LoginForm
from django.views.generic import TemplateView
from django.contrib.auth import views as auth_views
from django.urls import path


urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^signup/$', views.signup, name='signup'),
    url(r'^signup_ok/$', views.signup_ok, name='signup_ok'),
    url(r'^login/$', auth_views.LoginView.as_view(), {'template_name': 'home/registration/login.html', 'authentication_form': LoginForm}, name='login'),
    #url(r'^logout/$', auth_views.LogoutView, {'next_page':'/'}, name='logout'),
    url(r'^logout/$', auth_views.LogoutView.as_view(), {'next_page':'settings.LOGOUT_REDIRECT_URL'}, name='logout'),

    # url(r'^login/$', views.loginview, name='login'),
    # url(r'^logout/$', views.logoutview, name='logout'),
    url(r'^introduction/$', views.introduction, name='introduction'),
    url(r'^application/$', views.application, name='application'),
    url(r'^invitation/$', views.invitation, name='invitation'),
    url(r'^psjwedding/$', views.wedding, name='wedding'),
    url(r'^psjwedding/w_1$', views.w_1, name='w_1'),
    url(r'^psjwedding/w_2$', views.w_2, name='w_2'),
    url(r'^psjwedding/w_3$', views.w_3, name='w_3'),
    url(r'^psjwedding/w_4$', views.w_4, name='w_4'),
    url(r'^psjwedding/w_5$', views.w_5, name='w_5'),
    url(r'^psjwedding/w_6$', views.w_6, name='w_6'),
	# url(r'^wedding/w_1$', TemplateView.as_view(template_name="wedding/w_1.html"), name='w_1'),
]