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.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/alphabetlearning/payments/admin.py b/alphabetlearning/payments/admin.py
index 685af63..e9b70db 100644
--- a/alphabetlearning/payments/admin.py
+++ b/alphabetlearning/payments/admin.py
@@ -6,6 +6,7 @@ from .models import Product
from .models import ShoppingCart
from .models import Subscription
from .models import SubscriptionPlan
+from .models import EmailSignup
from alphabetlearning.resources.models import Resource
@@ -16,6 +17,9 @@ from alphabetlearning.resources.models import Resource
# inlines = [PriceInlineAdmin]
+class SuccessEmailSignupAdmin(admin.ModelAdmin):
+ list_display = ("email", "date_added")
+
class SubscriptionPlanAdmin(admin.ModelAdmin):
list_display = ("name", "price", "description", "allowed_downloads")
@@ -42,3 +46,4 @@ admin.site.register(Price)
admin.site.register(ShoppingCart, ShoppingCartAdmin)
admin.site.register(CartItem)
admin.site.register(Subscription, SubscriptionAdmin)
+admin.site.register(EmailSignup, SuccessEmailSignupAdmin) \ No newline at end of file