membershipworks: Remove unnecessary admin.display()
function
This commit is contained in:
parent
1310e72e3f
commit
df4c5564c4
@ -108,11 +108,6 @@ class EventMeetingTimeInline(admin.TabularInline):
|
|||||||
|
|
||||||
readonly_fields = ["duration"]
|
readonly_fields = ["duration"]
|
||||||
|
|
||||||
# TODO: remove when switched to GeneratedField
|
|
||||||
@admin.display()
|
|
||||||
def duration(self, obj):
|
|
||||||
return obj.duration
|
|
||||||
|
|
||||||
|
|
||||||
@admin.register(EventInstructor)
|
@admin.register(EventInstructor)
|
||||||
class EventInstructorAdmin(admin.ModelAdmin):
|
class EventInstructorAdmin(admin.ModelAdmin):
|
||||||
|
Loading…
Reference in New Issue
Block a user