Fixes #4405: reset metadata editor when switching views.
[redakcja.git] / src / depot / admin.py
index 35f721b..eebf010 100644 (file)
@@ -4,7 +4,4 @@ from . import models
 
 @admin.register(models.Package)
 class PackageAdmin(admin.ModelAdmin):
 
 @admin.register(models.Package)
 class PackageAdmin(admin.ModelAdmin):
-    filter_horizontal = ['books']
-    pass
-    
-# Register your models here.
+    raw_id_fields = ['books']