Skip to content
Snippets Groups Projects

Master

Merged Matevž Markovič requested to merge master into Metapodatki
1 file
+ 9
9
Compare changes
  • Side-by-side
  • Inline
@@ -243,7 +243,7 @@ class DatasetForm(p.SingletonPlugin):
'geographic_granularity': [ignore_missing, use_other, unicode, convert_to_extras],
'geographic_granularity-other': [ignore_missing],
#'geographic_coverage': [ignore_missing, convert_geographic_to_db, convert_to_extras],
'geographic_coverage': [convert_to_extras, not_empty, unicode],
'geographic_coverage': [not_empty, unicode, convert_to_extras],
'temporal_granularity': [ignore_missing, use_other, unicode, convert_to_extras],
'temporal_granularity-other': [ignore_missing],
'temporal_coverage-from': [ignore_missing, date_to_db, convert_to_extras],
@@ -380,18 +380,18 @@ class DatasetForm(p.SingletonPlugin):
'sla': [convert_from_extras, ignore_missing],
'national_statistic': [convert_from_extras, ignore_missing],
'podrocje_id': [unicode, convert_from_extras],
'podrocje_name': [ignore_missing, convert_from_extras],
'podrocje_id': [convert_from_extras],
'podrocje_name': [convert_from_extras, ignore_missing],
'dostopnost_id': [unicode, convert_from_extras],
'dostopnost_desc': [ignore_missing, convert_from_extras],
'dostopnost_id': [convert_from_extras],
'dostopnost_desc': [convert_from_extras, ignore_missing],
'povezanost_desc': [ignore_missing, unicode, convert_from_extras],
'povezanost_desc': [convert_from_extras, ignore_missing],
'vrsta_pravne_podlage': [ignore_missing, unicode, convert_from_extras],
'sop_stevilka': [ignore_missing, unicode, convert_from_extras],
'vrsta_pravne_podlage': [convert_from_extras, ignore_missing],
'sop_stevilka': [convert_from_extras, ignore_missing],
'pogoji_licence': [ignore_missing, unicode, convert_from_extras],
'pogoji_licence': [convert_from_extras, ignore_missing],
'theme-primary': [convert_from_extras, ignore_missing],
'theme-secondary': [convert_from_extras, from_json, ignore_missing],