X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c30cd74f1f4dcf0bfbabb0e5a739bcdf236b4946..9edb25d73bbc3262221a7a898bcd61531e2224b7:/src/depot/admin.py?ds=sidebyside diff --git a/src/depot/admin.py b/src/depot/admin.py index 35f721bd..eebf0102 100644 --- a/src/depot/admin.py +++ b/src/depot/admin.py @@ -4,7 +4,4 @@ from . import models @admin.register(models.Package) class PackageAdmin(admin.ModelAdmin): - filter_horizontal = ['books'] - pass - -# Register your models here. + raw_id_fields = ['books']