aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/forms.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-10-12 20:04:48 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-10-13 16:21:30 -0700
commit178047b3a8795609f2eae21c1bd5848c9a0b43b6 (patch)
tree653ea55e632db0530955cb8ff10dc0609392e057 /python/fatcat_web/forms.py
parentaeedc23706cd66ae2e753a0ad5603a66049e757c (diff)
downloadfatcat-178047b3a8795609f2eae21c1bd5848c9a0b43b6.tar.gz
fatcat-178047b3a8795609f2eae21c1bd5848c9a0b43b6.zip
web: implement new schema changes
Diffstat (limited to 'python/fatcat_web/forms.py')
-rw-r--r--python/fatcat_web/forms.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/fatcat_web/forms.py b/python/fatcat_web/forms.py
index 19176a59..a856ef22 100644
--- a/python/fatcat_web/forms.py
+++ b/python/fatcat_web/forms.py
@@ -133,6 +133,8 @@ class ReleaseEntityForm(EntityEditForm):
#core_id
#arxiv_id
#jstor_id
+ #oai
+ #hdl
volume = StringField('Volume')
issue = StringField('Issue')
pages = StringField('Pages')
@@ -226,8 +228,8 @@ container_type_options = (
)
CONTAINER_SIMPLE_ATTRS = ['name', 'container_type', 'publisher', 'issnl',
- 'wikidata_qid']
-CONTAINER_EXTRA_ATTRS = ['issne', 'issnp', 'original_name', 'country']
+ 'wikidata_qid', 'issne', 'issnp']
+CONTAINER_EXTRA_ATTRS = ['original_name', 'country']
class ContainerEntityForm(EntityEditForm):
name = StringField('Name/Title',