X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c30cd74f1f4dcf0bfbabb0e5a739bcdf236b4946..81f5e7445d649ead05b4d3d0a15b742444cd8b06:/src/depot/admin.py?ds=inline 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']