--- a/annot-server/webapp/admin.py Sat Oct 25 00:22:48 2014 +0200
+++ b/annot-server/webapp/admin.py Sat Oct 25 00:42:30 2014 +0200
@@ -48,9 +48,9 @@
output.append({"name": c["code"] if "code" in c else "","keywords": [ c["label"] ], "color" : c["color"] })
base_url = getattr(config,'LDT_PLATFORM_BASE_URL','') + "/ldt/embediframe/?"
- url_query_params = {'project_id': model.project_id,
- 'polemic': 'all',
- 'polemic__max_elements': 200,
+ url_query_params = {'project_id': model.project_id,
+ 'polemic': 'all',
+ 'polemic__max_elements': 200,
'createannotation': True,
'createannotation_polemics': False,
'tag_titles': "",
@@ -87,7 +87,7 @@
column_list = ('code', 'label', 'start_date', 'active')
column_filters = ('code', 'label', 'start_date', 'active')
form_create_rules = ('code', 'label', 'description', 'start_date')
- inline_models = [(models.EventSession, {'form_overrides': { "start_ts": StartTSField, },}})]
+ inline_models = [(models.EventSession, {'form_overrides': { "start_ts": StartTSField, },})]
def __init__(self, session, **kwargs):
super(EventView, self).__init__(models.Event, session, **kwargs)