X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c30cd74f1f4dcf0bfbabb0e5a739bcdf236b4946..4eb26400f533eba2c035a5e7e1776047a309ab54:/src/depot/admin.py 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']