fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some modernizations.
[redakcja.git]
/
src
/
depot
/
admin.py
diff --git
a/src/depot/admin.py
b/src/depot/admin.py
index
35f721b
..
eebf010
100644
(file)
--- 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):
@admin.register(models.Package)
class PackageAdmin(admin.ModelAdmin):
- filter_horizontal = ['books']
- pass
-
-# Register your models here.
+ raw_id_fields = ['books']