Фикс админки

main
through-your-tears 9 months ago
parent 060cb5c55d
commit d6625c8780

@ -20,4 +20,4 @@ class OrganizationImageInline(admin.TabularInline):
@admin.register(Organization) @admin.register(Organization)
class OrganizationAdmin(admin.ModelAdmin): class OrganizationAdmin(admin.ModelAdmin):
list_display = ['name', 'category', 'phone', 'website'] list_display = ['name', 'category', 'phone', 'website']
inlines = [OrganizationImage] inlines = [OrganizationImageInline]

Loading…
Cancel
Save