|
|
@ -5,4 +5,7 @@ from .models import Subscription |
|
|
|
@admin.register(Subscription) |
|
|
|
class SubsAdmin(admin.ModelAdmin): |
|
|
|
|
|
|
|
list_display = ("id", "user") |
|
|
|
list_display = ("id", "email", "customer_id", "payment_method_token", "subscription_id") |
|
|
|
|
|
|
|
def email(self, obj): |
|
|
|
return obj.user.email if obj.user else None |