fix field name

main
Laurent 8 months ago
parent 23b5ab8440
commit 9e19384898
  1. 2
      subscriptions/admin.py

@ -4,7 +4,7 @@ from .models import ASSNotification
class ASSNotificationAdmin(admin.ModelAdmin): class ASSNotificationAdmin(admin.ModelAdmin):
list_display = ['notificationType', 'subtype', 'signedDate', 'productId', 'transactionId', 'offerIdentifier', 'price', 'currency'] list_display = ['notificationType', 'subtype', 'signedDate', 'productId', 'transactionId', 'offerIdentifier', 'price', 'currency']
search_fields = ['transactionId'] search_fields = ['transactionId']
list_filter = ['offer_identifier', 'notificationType', 'subtype'] list_filter = ['offerIdentifier', 'notificationType', 'subtype']
ordering = ['-signedDate'] ordering = ['-signedDate']
admin.site.register(ASSNotification, ASSNotificationAdmin) admin.site.register(ASSNotification, ASSNotificationAdmin)

Loading…
Cancel
Save