We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb94ba0 commit dffee1fCopy full SHA for dffee1f
cart/models.py
@@ -71,7 +71,7 @@ class Payment(models.Model):
71
order = models.ForeignKey(
72
Order, on_delete=models.CASCADE, related_name='payments')
73
payment_method = models.CharField(max_length=20, choices=(
74
- ('PayPal', 'PayPal')
+ ('PayPal', 'PayPal'),
75
))
76
timestamp = models.DateTimeField(auto_now_add=True)
77
successful = models.BooleanField(default=False)
cart/urls.py
@@ -0,0 +1,4 @@
1
+
2
+app_name = 'cart'
3
4
+urlpatterns = []
ecom/urls.py
@@ -1,7 +1,7 @@
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
-from django.urls import path
+from django.urls import path, include
5
6
from core import views
7
0 commit comments