Skip to content

Commit dffee1f

Browse files
author
mattfreire
committed
Fixes
1 parent bb94ba0 commit dffee1f

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

cart/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class Payment(models.Model):
7171
order = models.ForeignKey(
7272
Order, on_delete=models.CASCADE, related_name='payments')
7373
payment_method = models.CharField(max_length=20, choices=(
74-
('PayPal', 'PayPal')
74+
('PayPal', 'PayPal'),
7575
))
7676
timestamp = models.DateTimeField(auto_now_add=True)
7777
successful = models.BooleanField(default=False)

cart/urls.py

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
app_name = 'cart'
3+
4+
urlpatterns = []

ecom/urls.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from django.conf import settings
22
from django.conf.urls.static import static
33
from django.contrib import admin
4-
from django.urls import path
4+
from django.urls import path, include
55

66
from core import views
77

0 commit comments

Comments
 (0)