Commit 56857368 authored by Marko Kuder's avatar Marko Kuder
Browse files

fixed saving of file links (and other fields)

parent 8242fcc5
......@@ -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],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment