from analytics.views import SalesView, SalesAjaxView urlpatterns = [ re_path(r'^$', home_page, name='home'), re_path(r'^bootstrap/$', TemplateView.as_view(template_name='bootstrap/example.html')), re_path(r'^about/$', about_page, name='about'), re_path(r'^login/$', LoginView.as_view(), name='login'), re_path(r'^checkout/address/create/$', checkout_address_create_view, name='checkout_address_create'), re_path(r'^checkout/address/reuse/$', checkout_address_reuse_view, name='checkout_address_reuse'), re_path(r'^register/guest/$', GuestRegisterView.as_view(), name='guest_register'), re_path(r'^logout/$', LogoutView.as_view(), name='logout'), re_path(r'^register/$', RegisterView.as_view(), name='register'), re_path(r'^contact/$', contact, name='contact'), re_path(r'^billing/payment-method/$', payment_method_view, name='billing-payment-method'), re_path(r'^billing/payment-method/create/$', payment_method_createview, name='billing-payment-method-endpoint'), re_path(r'^settings/$', RedirectView.as_view(url='account')), re_path(r'^settings/email/$', MarketingPreferenceUpdateView.as_view(), name='marketing-pref'), re_path(r'^webhooks/mailchimp/$',
urlpatterns = [ url(r'^$', home_page, name='home'), url(r'^about/$', about_page, name='about'), url(r'^accounts/$', RedirectView.as_view(url='/account')), url(r'^account/', include("accounts.urls", namespace='account')), url(r'^accounts/', include("accounts.passwords.urls")), url(r'^address/$', RedirectView.as_view(url='/addresses')), url(r'^addresses/$', AddressListView.as_view(), name='addresses'), url(r'^addresses/create/$', AddressCreateView.as_view(), name='address-create'), url(r'^addresses/(?P<pk>\d+)/$', AddressUpdateView.as_view(), name='address-update'), url(r'^contact/$', contact_page, name='contact'), url(r'^login/$', LoginView.as_view(), name='login'), url(r'^checkout/address/create/$', checkout_address_create_view, name='checkout_address_create'), url(r'^checkout/address/reuse/$', checkout_address_reuse_view, name='checkout_address_reuse'), url(r'^register/guest/$', GuestRegisterView.as_view(), name='guest_register'), url(r'^logout/$', LogoutView.as_view(), name='logout'), url(r'^api/cart/$', cart_detail_api_view, name='api-cart'), url(r'^cart/', include("carts.urls", namespace='cart')), url(r'^billing/payment-method/$', payment_method_view, name='billing-payment-method'), url(r'^billing/payment-method/create/$', payment_method_createview, name='billing-payment-method-endpoint'), url(r'^register/$', RegisterView.as_view(), name='register'), url(r'^bootstrap/$', TemplateView.as_view(template_name='bootstrap/example.html')), url(r'^library/$', LibraryView.as_view(), name='library'), url(r'^orders/', include("orders.urls", namespace='orders')), url(r'^products/', include("products.urls", namespace='products')), url(r'^search/', include("search.urls", namespace='search')), url(r'^settings/$', RedirectView.as_view(url='/account')), url(r'^settings/email/$', MarketingPreferenceUpdateView.as_view(), name='marketing-pref'), url(r'^webhooks/mailchimp/$', MailchimpWebhookView.as_view(), name='webhooks-mailchimp'), url(r'^admin/', admin.site.urls),
from django.urls import include, path, re_path from django.views.generic.base import TemplateView, View from accounts.views import (AccountEmailActivateView, AccountHomeView, GuestRegisterView, LoginView, SignUpView, UserDetailUpdateView) from addresses.views import (AddressCreateView, AddressListView, AddressUpdateView) app_name = 'accounts' urlpatterns = [ path('signup/', SignUpView.as_view(), name='signup'), path('login/', LoginView.as_view(), name='login'), path('logout/', LogoutView.as_view(), name='logout'), path('register/guest/', GuestRegisterView.as_view(), name='guest_register'), path('dashboard/', AccountHomeView.as_view(), name='account-home'), path('dashboard/details/', UserDetailUpdateView.as_view(), name='account-update'), path('email/activate/<str:uid64>/<str:token>/', AccountEmailActivateView.as_view(), name='email-activate'), path('email/resend-activation/', AccountEmailActivateView.as_view(), name='resend-activation'), path('addresses/', AddressListView.as_view(), name='addresses'), path('addresses/create/', AddressCreateView.as_view(), name='address-create'),
namespace='password')), path('contact/', contact, name="contact"), path('checkout/address/create/', checkout_address_create_view, name="checkout_address_create"), path('checkout/address/reuse/', checkout_address_reuse_view, name="checkout_address_reuse"), path('analytics/sales/', SalesView.as_view(), name="sales-analytics"), path('analytics/sales/data/', SalesAjaxView.as_view(), name="sales-analytics-data"), path('bootstrap/', TemplateView.as_view(template_name='bootstrap/example.html')), path('login/', LoginView.as_view(), name="login"), path('register/guest', GuestRegisterView.as_view(), name="guest_register"), path('register/', RegisterView.as_view(), name='register'), path('logout/', LogoutView.as_view(), name='logout'), path('library/', LibraryView.as_view(), name='library'), path('billing/payment-method/', paymend_method_view, name='billing-payment-method'), path('billing/payment-method/create/', paymend_method_create_view, name='billing-payment-method-endpoint'), path('cart/', include(('carts.urls', 'carts'), namespace='cart')), path('api/cart/', cart_detail_api_view, name='api-cart'), path('products/', include(('products.urls', 'products'), namespace='products')), path('orders/', include(('orders.urls', 'orders'), namespace='orders')), path('search/', include(('search.urls', 'search'), namespace='search')),
from billing.views import payment_method_view, payment_method_createview from marketing.views import MarketingPreferenceView, MailchimpWebhookView from orders.views import LibraryView urlpatterns = [ path('', views.home_page, name = 'home'), path('about/', views.about_page, name = 'about'), path('contacts/', views.contacts_page, name = 'contacts'), path('addresses/', include('addresses.urls', namespace = 'addresses')), # path('accounts/login/', RedirectView.as_view(url = '/login/')), path('accounts/', RedirectView.as_view(url = '/account')), path('account/', include('accounts.urls', namespace = 'accounts')), path('accounts/', include('accounts.passwords.urls')), path('login/', LoginView.as_view(), name = 'login'), # path('login/', login_page, name = 'login'), path('register/guest/', GuestRegisterView.as_view(), name = 'guest_register'), # path('register/guest/', guest_register_view, name = 'guest_register'), path('checkout/address/create/', checkout_address_create_view, name = 'checkout_address_create'), path('checkout/address/reuse/', checkout_address_reuse_view, name = 'checkout_address_reuse'), path('api/cart/', cart_detail_api_view, name = 'api_cart'), path('api/cart/quantity/', cart_quantity_api_view, name = 'api_cart_quantity'), path('logout/', LogoutView.as_view(), name = 'logout'), path('billing/payment-method/', payment_method_view, name = 'billing-payment-method'), path('billing/payment-method/create/', payment_method_createview, name = 'billing-payment-method-endpoint'), path('register/', RegisterView.as_view(), name = 'register'), # path('register/', register_page, name = 'register'), path('products/', include('products.urls', namespace = 'products')), path('orders/', include('orders.urls', namespace = 'orders')), path('library/', LibraryView.as_view(), name = 'digital_library'), path('search/', include('search.urls', namespace = 'search')), path('cart/', include('carts.urls', namespace = 'carts')),
url(r'^about/$', about_page, name='about'), #url(r'^accounts/login/$', RedirectView.as_view(url='/login')), url(r'^accounts/$', RedirectView.as_view(url='/account')), url(r'^account/', include("accounts.urls", namespace='account')), url(r'^accounts/', include("accounts.passwords.urls")), url(r'^address/$', RedirectView.as_view(url='/addresses')), url(r'^addresses/$', AddressListView.as_view(), name='addresses'), url(r'^addresses/create/$', AddressCreateView.as_view(), name='address-create'), url(r'^addresses/(?P<pk>\d+)/$', AddressUpdateView.as_view(), name='address-update'), url(r'^analytics/sales/$', SalesView.as_view(), name='sales-analytics'), url(r'^analytics/sales/data/$', SalesAjaxView.as_view(), name='sales-analytics-data'), url(r'^contact/$', contact_page, name='contact'), url(r'^login/$', LoginView.as_view(), name='login'), url(r'^checkout/address/create/$', checkout_address_create_view, name='checkout_address_create'), url(r'^checkout/address/reuse/$', checkout_address_reuse_view, name='checkout_address_reuse'), url(r'^register/guest/$', GuestRegisterView.as_view(), name='guest_register'), url(r'^logout/$', LogoutView.as_view(), name='logout'), url(r'^api/cart/$', cart_detail_api_view, name='api-cart'), url(r'^cart/', include("carts.urls", namespace='cart')), url(r'^billing/payment-method/$', payment_method_view, name='billing-payment-method'), url(r'^billing/payment-method/create/$', payment_method_createview, name='billing-payment-method-endpoint'), url(r'^register/$', RegisterView.as_view(), name='register'), url(r'^bootstrap/$', TemplateView.as_view(template_name='bootstrap/example.html')), url(r'^library/$', LibraryView.as_view(), name='library'), url(r'^orders/', include("orders.urls", namespace='orders')), url(r'^products/', include("products.urls", namespace='products')), url(r'^search/', include("search.urls", namespace='search')), url(r'^settings/$', RedirectView.as_view(url='/account')), url(r'^settings/email/$', MarketingPreferenceUpdateView.as_view(), name='marketing-pref'), url(r'^webhooks/mailchimp/$', MailchimpWebhookView.as_view(), name='webhooks-mailchimp'), url(r'^admin/', admin.site.urls),
from django.conf.urls import url, include from django.contrib import admin from django.contrib.auth.views import LogoutView from accounts.views import GuestRegisterView, LoginView, RegisterView from .views import home_page, about_page, contact_page from addresses.views import AddressCreateView, AddressUpdateView, AddressListView, checkout_address_create_view, checkout_address_reuse_view from orders.views import LibraryView from analytics.views import SalesView urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^login/$', LoginView.as_view(), name='login'), url(r'^logout/$', LogoutView.as_view(), name='logout'), url(r'^register/$', RegisterView.as_view(), name='register'), url(r'^guest/$', GuestRegisterView.as_view(), name='guest'), url(r'^analytics/sales/$', SalesView.as_view(), name='sales-analytics'), url(r'^contact/$', contact_page, name='contact'), url(r'^about/$', about_page, name='about'), url(r'^addresses/$', AddressListView.as_view(), name='addresses'), url(r'^addresses/create/$', AddressCreateView.as_view(), name='address-create'), url(r'^addresses/(?P<pk>\d+)/$', AddressUpdateView.as_view(), name='address-update'), url(r'^address/$', RedirectView.as_view(url='/addresses')), url(r'^checkout/address/create/$', checkout_address_create_view, name='address_create'), url(r'^checkout/address/reuse/$',