dynamicweb/membership/urls.py
2016-03-11 19:42:45 +01:00

13 lines
568 B
Python

__author__ = 'tomislav'
from django.conf.urls import url
from django.contrib.auth.decorators import login_required
from . import views
urlpatterns = (
url(r"^/$", views.LoginRegistrationView.as_view(), name='login'),
url(r"^/validate/(?P<validate_slug>.*)/$", views.validate_email),
url(r"^/membership/$", login_required(views.MembershipView.as_view()), name='membership'),
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')
)