membershipworks: Remove unnecessary admin.display() function

This commit is contained in:
Adam Goldsmith 2024-05-08 12:46:35 -04:00
parent 1310e72e3f
commit df4c5564c4

View File

@ -108,11 +108,6 @@ class EventMeetingTimeInline(admin.TabularInline):
readonly_fields = ["duration"]
# TODO: remove when switched to GeneratedField
@admin.display()
def duration(self, obj):
return obj.duration
@admin.register(EventInstructor)
class EventInstructorAdmin(admin.ModelAdmin):