X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c30cd74f1f4dcf0bfbabb0e5a739bcdf236b4946..fbedc8f26f2879a46629edc72ce20e3e85135523:/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']