Configure PayPal integration and cart checkout error display
This commit is contained in:
1 parent
62065828e1
commit
cf07fc5d9b
98 files changed
+1430
-281
No files matched your search
+8
-1
@@ -1,13 +1,17 @@
|
||||
from django.conf import settings
|
||||
from django.urls import include, re_path
|
||||
from django.views.static import serve
|
||||
from django.views.generic import TemplateView
|
||||
from django.urls import path
|
||||
from django.contrib.auth import views as auth_views
|
||||
from catalog import views, fans, reactions, reviews, paypal, streams, newsletter, shop_stripe, membership
|
||||
from catalog import views, fans, reactions, reviews, paypal, streams, newsletter, shop_stripe, membership, collectors
|
||||
from catalog.admin import studio
|
||||
|
||||
urlpatterns = [
|
||||
path('', views.home, name='home'),
|
||||
path('map/', views.map_landing, name='world-map'),
|
||||
path('pages/<slug:slug>/', views.managed_page, name='managed-page'),
|
||||
path('chapters/<int:number>/buy/', views.buy_chapter, name='buy-chapter'),
|
||||
path('admin/', studio.urls),
|
||||
path('shop/', include('shop.urls')),
|
||||
path('chapters/', views.chapters, name='chapters'),
|
||||
@@ -32,6 +36,7 @@ urlpatterns = [
|
||||
path('fan/login/', auth_views.LoginView.as_view(template_name='registration/fan-login.html'), name='fan-login'),
|
||||
path('fan/logout/', auth_views.LogoutView.as_view(next_page='home'), name='fan-logout'),
|
||||
path('fan/signup/', fans.signup, name='fan-signup'),
|
||||
path('fan/collector-preferences/', collectors.preferences, name='collector-preferences'),
|
||||
path('fan/library/', fans.library, name='library'),
|
||||
path('fan/follow/', fans.follow_title, name='fan-follow'),
|
||||
path('fan/notifications/', fans.notices, name='fan-notices'),
|
||||
@@ -53,6 +58,8 @@ urlpatterns = [
|
||||
path('newsletter/confirm/<uuid:token>/', newsletter.confirm, name='newsletter-confirm'),
|
||||
path('newsletter/unsubscribe/<uuid:token>/', newsletter.unsubscribe, name='newsletter-unsubscribe'),
|
||||
path('newsletter/one-click/<uuid:token>/', newsletter.one_click, name='newsletter-one-click'),
|
||||
path('about/', TemplateView.as_view(template_name='series-intro.html'), name='series-intro'),
|
||||
path('djinnii/', TemplateView.as_view(template_name='djinnii.html'), name='djinnii'),
|
||||
path('<slug:kind>/', views.entries, name='entries'),
|
||||
path('<slug:kind>/<slug:slug>/', views.entry, name='entry'),
|
||||
]
|
||||
Reference in new issue
Block a user