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