aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/payments/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'alphabetlearning/payments/admin.py')
-rw-r--r--alphabetlearning/payments/admin.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/alphabetlearning/payments/admin.py b/alphabetlearning/payments/admin.py
index 156baf3..fc0db91 100644
--- a/alphabetlearning/payments/admin.py
+++ b/alphabetlearning/payments/admin.py
@@ -17,6 +17,7 @@ from .models import Subscription
class SuccessEmailSignupAdmin(admin.ModelAdmin):
list_display = ("email", "date_added")
+
class SubscriptionPlanAdmin(admin.ModelAdmin):
list_display = ("name", "price", "description", "allowed_downloads")
@@ -26,8 +27,10 @@ class CartItemAdminInline(admin.TabularInline):
class ShoppingCartAdmin(admin.ModelAdmin):
-# list_display = ("user", "created_at", "updated_at")
- inlines = [CartItemAdminInline,]
+ # list_display = ("user", "created_at", "updated_at")
+ inlines = [
+ CartItemAdminInline,
+ ]
# class CartItemAdmin(admin.ModelAdmin):