Version: drop file field, use files instead #193

Merged
Oleg-Komarov merged 6 commits from version-drop-file into main 2024-06-21 11:29:22 +02:00
Showing only changes of commit 004b60c25a - Show all commits

View File

@ -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