diff options
author | Martin Czygan <martin@archive.org> | 2020-09-29 10:19:30 +0000 |
---|---|---|
committer | Martin Czygan <martin@archive.org> | 2020-09-29 10:19:30 +0000 |
commit | d0f4155bc430d193451472b6c22b6a15e00a5785 (patch) | |
tree | 279951c3c14a1d5bb196744e939b647dd15ca943 /python/fatcat_web/forms.py | |
parent | 3112fcd6457e318069830d1af7ae6e9512f52f59 (diff) | |
parent | 897fb1921dc0fe9a7506cb7d0e648a17d26f3ee4 (diff) | |
download | fatcat-d0f4155bc430d193451472b6c22b6a15e00a5785.tar.gz fatcat-d0f4155bc430d193451472b6c22b6a15e00a5785.zip |
Merge branch 'bnewbold-202009-polish' into 'master'
fatcat.wiki 2020-09 polish
See merge request webgroup/fatcat!84
Diffstat (limited to 'python/fatcat_web/forms.py')
-rw-r--r-- | python/fatcat_web/forms.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/fatcat_web/forms.py b/python/fatcat_web/forms.py index ff885fcb..1c9fb199 100644 --- a/python/fatcat_web/forms.py +++ b/python/fatcat_web/forms.py @@ -476,5 +476,9 @@ class EntityTomlForm(EntityEditForm): pop_fields = ['ident', 'state', 'revision', 'redirect'] else: pop_fields = ['ident', 'state'] + + # remove "expand" fields + pop_fields += ['releases', 'container', 'work', 'creators', 'files', 'filesets', 'webcaptures'] + etf.toml.data = entity_to_toml(entity, pop_fields=pop_fields) return etf |