Version: drop file field, use files instead #193
@ -32,8 +32,8 @@ class VersionInline(NoAddDeleteMixin, admin.TabularInline):
|
||||
extra = 0
|
||||
|
||||
|
||||
class VersionFilesInline(admin.TabularInline):
|
||||
model = VersionFiles
|
||||
class VersionFilesInline(NoAddDeleteMixin, admin.TabularInline):
|
||||
model = Version.files.through
|
||||
autocomplete_fields = ('file',)
|
||||
extra = 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user