Don't show extra rows for admin inlines
This commit is contained in:
parent
c790296c70
commit
76ffb649a3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user