Bugfix: Remove item inline as it leads to timeouts
This commit is contained in:
parent
e63579e1ef
commit
bc83608e58
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class BoxAdmin(NestedModelAdmin):
|
||||||
readonly_fields = ['created_at', 'changed_at']
|
readonly_fields = ['created_at', 'changed_at']
|
||||||
list_filter = ['container']
|
list_filter = ['container']
|
||||||
search_fields = ['name', 'description']
|
search_fields = ['name', 'description']
|
||||||
inlines = [BoxInlineAdmin, ItemInlineAdmin]
|
inlines = [BoxInlineAdmin]
|
||||||
filter_horizontal = ('tags',)
|
filter_horizontal = ('tags',)
|
||||||
|
|
||||||
def view_on_site(self, obj):
|
def view_on_site(self, obj):
|
||||||
|
|
Loading…
Reference in a new issue