[Mpuls-commits] r5233 - in base/trunk: . mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Aug 12 17:25:11 CEST 2011
Author: bh
Date: 2011-08-12 17:25:09 +0200 (Fri, 12 Aug 2011)
New Revision: 5233
Modified:
base/trunk/ChangeLog
base/trunk/mpulsweb/lib/config.py
Log:
* mpulsweb/lib/config.py (MpulsAppConfig.build_defaults): Fix
formatting of the default value of the case/fields setting.
Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog 2011-08-12 13:57:18 UTC (rev 5232)
+++ base/trunk/ChangeLog 2011-08-12 15:25:09 UTC (rev 5233)
@@ -1,5 +1,10 @@
2011-08-12 Bernhard Herzog <bh at intevation.de>
+ * mpulsweb/lib/config.py (MpulsAppConfig.build_defaults): Fix
+ formatting of the default value of the case/fields setting.
+
+2011-08-12 Bernhard Herzog <bh at intevation.de>
+
* mpulsweb/model/case.py (MPulsXMLImporter.import_case): Return
the new instance tree, if the case was actually loaded, return
None otherwise. This makes import_case behave more like the base
Modified: base/trunk/mpulsweb/lib/config.py
===================================================================
--- base/trunk/mpulsweb/lib/config.py 2011-08-12 13:57:18 UTC (rev 5232)
+++ base/trunk/mpulsweb/lib/config.py 2011-08-12 15:25:09 UTC (rev 5233)
@@ -203,19 +203,20 @@
# erstgespraech, datum_cm_ende which are dates, or
# bearbeiter_id which is an int.
#
- set('case', 'fields', [{"name":"id",
- "alias":"id",
- "preload":True,
- "overview":True,
- "search_retrieve":True,
- "search_match":True,
- "overview_style":"table_width_small",
- "overview_label": "ID"},{
- "name":"bearbeiter_id",
- "search_retrieve":True,
- "preload":True, "alias":"editor",
- "alias_force_string":False}
- ])
+ set('case', 'fields', [{"name": "id",
+ "alias": "id",
+ "preload": True,
+ "overview": True,
+ "search_retrieve": True,
+ "search_match": True,
+ "overview_style": "table_width_small",
+ "overview_label": "ID"},
+ {"name": "bearbeiter_id",
+ "search_retrieve": True,
+ "preload": True,
+ "alias": "editor",
+ "alias_force_string": False}
+ ])
set('agency', 'fields', [{"name":"fkz",
"alias":"fkz",
"preload":True,
More information about the Mpuls-commits
mailing list