Don't show extra rows for admin inlines

This commit is contained in:
Adam Goldsmith 2021-05-14 22:56:46 -04:00
parent c790296c70
commit 76ffb649a3

View File

@ -6,14 +6,17 @@ from .models import Tool, Task, Event, GroupTaskSubscription, GroupToolSubscript
class GroupTaskSubscriptionInline(admin.TabularInline):
model = GroupTaskSubscription
extra = 0
class GroupToolSubscriptionInline(admin.TabularInline):
model = GroupToolSubscription
extra = 0
class EventInline(admin.TabularInline):
model = Event
extra = 0
@admin.register(Task)