|
@@ -272,7 +272,7 @@ article.new_field( 'author_note',
|
272
|
272
|
group = editorial_group,
|
273
|
273
|
data_handler = 'text'
|
274
|
274
|
)
|
275
|
|
-# Classe Review
|
|
275
|
+# Classe Review
|
276
|
276
|
review = em.new_class( 'review',
|
277
|
277
|
display_name = 'Review',
|
278
|
278
|
group = editorial_group,
|
|
@@ -439,7 +439,7 @@ issue.new_field( 'print_pub_date',
|
439
|
439
|
},
|
440
|
440
|
data_handler = 'datetime',
|
441
|
441
|
group = editorial_group,
|
442
|
|
-)
|
|
442
|
+)
|
443
|
443
|
issue.new_field( 'e_pub_date',
|
444
|
444
|
display_name = {
|
445
|
445
|
'eng': 'Electronic publication date',
|
|
@@ -447,7 +447,7 @@ issue.new_field( 'e_pub_date',
|
447
|
447
|
},
|
448
|
448
|
data_handler = 'datetime',
|
449
|
449
|
group = editorial_group,
|
450
|
|
-)
|
|
450
|
+)
|
451
|
451
|
issue.new_field( 'abstract',
|
452
|
452
|
display_name = {
|
453
|
453
|
'eng': 'Abstract',
|
|
@@ -455,7 +455,7 @@ issue.new_field( 'abstract',
|
455
|
455
|
},
|
456
|
456
|
data_handler = 'text',
|
457
|
457
|
group = editorial_group,
|
458
|
|
-)
|
|
458
|
+)
|
459
|
459
|
issue.new_field( 'collection',
|
460
|
460
|
display_name = {
|
461
|
461
|
'eng': 'Collection',
|
|
@@ -691,7 +691,7 @@ user.new_field(
|
691
|
691
|
group = user_group, data_handler = 'password', internal = False)
|
692
|
692
|
|
693
|
693
|
|
694
|
|
-#em.save('xmlfile', filename = 'examples/em_test.xml')
|
|
694
|
+em.save('xmlfile', filename = 'editorial_models/em_simple.xml')
|
695
|
695
|
pickle_file = 'examples/em_simple.pickle'
|
696
|
696
|
em.save('picklefile', filename = pickle_file)
|
697
|
697
|
print("Output written in %s" % pickle_file)
|