diff --git a/subscriptions/admin.py b/subscriptions/admin.py index de616aa..3206dc3 100644 --- a/subscriptions/admin.py +++ b/subscriptions/admin.py @@ -2,7 +2,7 @@ from django.contrib import admin from .models import ASSNotification class ASSNotificationAdmin(admin.ModelAdmin): - list_display = ['notificationType', 'subtype', 'signedDate', 'transactionId', 'price'] + list_display = ['notificationType', 'subtype', 'productId', 'transactionId', 'offer_identifier', 'price', 'currency'] search_fields = ['transactionId'] list_filter = ['offer_identifier', 'notificationType', 'subtype'] ordering = ['-signedDate'] diff --git a/subscriptions/models.py b/subscriptions/models.py index cc890a1..73f71fa 100644 --- a/subscriptions/models.py +++ b/subscriptions/models.py @@ -5,7 +5,7 @@ class ASSNotification(models.Model): notificationType = models.CharField(max_length=100) subtype = models.CharField(max_length=100, null=True, blank=True) notificationUUID = models.CharField(max_length=100) - signedDate = models.DateField(null=True, blank=True) + signedDate = models.DateTimeField(null=True, blank=True) productId = models.CharField(max_length=100, null=True, blank=True)