dynamicweb/membership/urls.py

15 lines
634 B
Python
Raw Normal View History

2016-03-07 16:49:02 +00:00
__author__ = 'tomislav'
from django.conf.urls import url
2016-03-11 18:42:45 +00:00
from django.contrib.auth.decorators import login_required
2016-03-07 16:49:02 +00:00
from . import views
urlpatterns = (
2016-04-23 17:00:20 +00:00
url(r"^$", views.LoginRegistrationView.as_view(), name='login_glarus'),
2016-03-15 23:26:49 +00:00
url(r"^validate/(?P<validate_slug>.*)/$", views.validate_email),
url(r"^membership/$", login_required(views.MembershipView.as_view()), name='membership'),
2016-04-23 17:00:20 +00:00
url(r'logout/?$',views.logout_glarus,name='logout_glarus'),
2016-03-15 23:26:49 +00:00
url(r"^buy/(?P<time>\w+)/$", login_required(views.CreditCardView.as_view()), name='payment'),
url(r'^buy/(?P<time>\w+)/reset',login_required(views.reset),name='reset')
2016-03-07 16:49:02 +00:00
)