aboutsummaryrefslogtreecommitdiffstats
path: root/97suifangqa/apps/indicator/urls.py
diff options
context:
space:
mode:
authorAlvin Li <liweitianux@gmail.com>2013-08-27 07:29:36 +0800
committerAlvin Li <liweitianux@gmail.com>2013-08-27 07:29:36 +0800
commit52eebfa317cdc80739a19485880c2308c36eed91 (patch)
tree81f02d1d358fc08ccc0cff04b021fa4ff9ec86e9 /97suifangqa/apps/indicator/urls.py
parent58b77885308c944a029caf5c2d8b5d3263b6f64d (diff)
download97dev-52eebfa317cdc80739a19485880c2308c36eed91.tar.bz2
* added plugin 'qtip2' to provide 'tooltips';
employed in adding/modifying record data to provide validation info; * added 'ajax_modify_record' url; removed 'ajax_edit_history_data' url; * added 'indicator.views.ajax_modify_record()' for 'EditHistoryData.html'; * renamed 'indicator.views.add_recordhistory()' to 'add_recordhistory_view()'; * added 'indicator.tools.add_recordhistory()'; * added 'pytz' to 'env/requirements.pip'; 'pytz' to handle timezone in python & django (recommended)
Diffstat (limited to '97suifangqa/apps/indicator/urls.py')
-rw-r--r--97suifangqa/apps/indicator/urls.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/97suifangqa/apps/indicator/urls.py b/97suifangqa/apps/indicator/urls.py
index 93f3c7b..5c4f5af 100644
--- a/97suifangqa/apps/indicator/urls.py
+++ b/97suifangqa/apps/indicator/urls.py
@@ -82,10 +82,6 @@ urlpatterns += patterns('indicator.views',
url(r'^ajax/close_sub_title/$',
'ajax_close_sub_title',
name='indicator_ajax_closesubtitle'),
- # edit_history_data
- url(r'^ajax/edit_history_data/$',
- 'ajax_edit_history_data',
- name='indicator_ajax_edithistorydata'),
# get_card_data_chart
url(r'^ajax/get_card_data_chart/$',
'ajax_get_card_data_chart',
@@ -94,6 +90,10 @@ urlpatterns += patterns('indicator.views',
url(r'^ajax/get_card_data_table/$',
'ajax_get_card_data_table',
name='indicator_ajax_getcarddatatable'),
+ # modify_record
+ url(r'^ajax/modify_record/$',
+ 'ajax_modify_record',
+ name='indicator_ajax_modifyrecord'),
# unfollow_indicator
url(r'^ajax/unfollow_indicator/$',
'ajax_unfollow_indicator',
@@ -172,10 +172,9 @@ urlpatterns += patterns('indicator.views',
url(r'^edit/record/(?P<record_id>\d+)/$', 'add_edit_record',
name='edit_record'),
## add record history (modify history NOT allowed)
- url(r'^add/recordhistory/$', 'add_recordhistory',
- name='add_recordhistory'),
- url(r'^add/recordhistory/(?P<record_id>\d+)/$', 'add_recordhistory',
- name='add_recordhistory'),
+ url(r'^add/recordhistory/(?P<record_id>\d+)/$',
+ 'add_recordhistory_view',
+ name='add_recordhistory_view'),
)