diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-10-20 16:55:07 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-10-20 16:55:07 +0200 |
commit | 62912cc4ec70bf5ec9dc3183ce83e85ad72373fb (patch) | |
tree | 5a0d3b6d1b8eb2b8f0eda6b65eff6bc30eaf5f47 /archaeological_context_records/admin.py | |
parent | 0b5e3b51cbd842df2fb8c01f36636c6d040aae00 (diff) | |
download | Ishtar-62912cc4ec70bf5ec9dc3183ce83e85ad72373fb.tar.bz2 Ishtar-62912cc4ec70bf5ec9dc3183ce83e85ad72373fb.zip |
Fix automatic add of model on admin "add" page access
Diffstat (limited to 'archaeological_context_records/admin.py')
-rw-r--r-- | archaeological_context_records/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_context_records/admin.py b/archaeological_context_records/admin.py index 2733fa2ff..d5e4d09b9 100644 --- a/archaeological_context_records/admin.py +++ b/archaeological_context_records/admin.py @@ -62,7 +62,7 @@ class ContextRecordAdmin(HistorizedObjectAdmin): model = models.ContextRecord form = AdminContextRecordForm readonly_fields = HistorizedObjectAdmin.readonly_fields + [ - 'imports', 'cached_label', 'datings' + 'cached_label', 'datings' ] admin_site.register(models.ContextRecord, ContextRecordAdmin) |