fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix for missing IP in stats + stats for /api/
[wolnelektury.git]
/
apps
/
catalogue
/
admin.py
diff --git
a/apps/catalogue/admin.py
b/apps/catalogue/admin.py
index
dda39b5
..
22cf15f
100644
(file)
--- a/
apps/catalogue/admin.py
+++ b/
apps/catalogue/admin.py
@@
-21,6
+21,7
@@
class TagAdmin(admin.ModelAdmin):
class MediaInline(admin.TabularInline):
model = BookMedia
class MediaInline(admin.TabularInline):
model = BookMedia
+ readonly_fields = ['source_sha1']
extra = 0
extra = 0