make cached stuff in catalogue behave before model save
[wolnelektury.git] / apps / catalogue / admin.py
index dda39b5..22cf15f 100644 (file)
@@ -21,6 +21,7 @@ class TagAdmin(admin.ModelAdmin):
 
 class MediaInline(admin.TabularInline):
     model = BookMedia
+    readonly_fields = ['source_sha1']
     extra = 0