from django.conf.urls import patterns, url from django.views.generic import TemplateView from gnowsys_ndf.ndf.views import ajax_views urlpatterns = patterns('gnowsys_ndf.ndf.views.ajax_views', url(r'^collection/', 'select_drawer', name='select_drawer'), url(r'^collectionNav/', 'collection_nav', name='collection_nav'), url(r'^collectionView/', 'collection_view', name='collection_view'), url(r'^shelf/', 'shelf', name='shelf'), url(r'^add_subThemes/', 'add_sub_themes', name='add_sub_themes'), url(r'^add_ThemeItems', 'add_theme_item', name='add_theme_item'), url(r'^add_page/', 'add_page', name='add_page'), url(r'^add_files/', 'add_file', name='add_file'), url(r'^deleteThemes/', 'delete_themes', name='delete_themes'), url(r'^add_Topics/', 'add_topics', name='add_topics'), url(r'^get_tree_hierarchy/(?P[\w-]+)$', 'get_tree_hierarchy', name='get_tree_hierarchy'), url(r'^get_collection/(?P[\w-]+)$', 'get_collection', name='get_collection'), url(r'^get_contents/', 'get_topic_contents', name='get_topic_contents'), url(r'^drawer/', 'drawer_widget', name='drawer_widget'), url(r'^search/', 'search_drawer', name='search_drawer'), url(r'^terms/', 'terms_list', name='terms_list'), url(r'^change_group_settings/', 'change_group_settings', name='change_group_settings'), url(r'^make_module/', 'make_module_set', name='make_module'), url(r'^get_module_json/', 'get_module_json', name='get_module_json'), url(r'^get_graph_json/', 'graph_nodes', name='get_graph_json'), url(r'^get_data_for_drawer/', 'get_data_for_drawer', name='get_data_for_drawer'), url(r'^get_data_for_drawer_of_attributetype_set/', 'get_data_for_drawer_of_attributetype_set', name='get_data_for_drawer_of_attributetype_set'), url(r'^get_data_for_drawer_of_relationtype_set/', 'get_data_for_drawer_of_relationtype_set', name='get_data_for_drawer_of_relationtype_set'), url(r'^deletionInstances/', 'deletion_instances', name='deletion_instances'), url(r'^get_visited_location/', 'get_visited_location', name='get_visited_location'), url(r'^get_online_editing_user/', 'get_online_editing_user', name="get_online_editing_user"), url(r'^view_articles/', 'view_articles', name="view_articles"), url(r'^get_author_set_users/', 'get_author_set_users', name="get_author_set_users"), url(r'^get_filterd_user_list/', 'get_filterd_user_list', name="get_filterd_user_list"), url(r'^search_tasks/', 'search_tasks', name="search_tasks"), url(r'^get_group_member_user/', 'get_group_member_user', name="get_group_member_user"), url(r'^remove_user_from_author_set/', 'remove_user_from_author_set', name="remove_user_from_author_set"), url(r'^get_data_for_user_drawer/', 'get_data_for_user_drawer', name='get_data_for_user_drawer'), url(r'^get_data_for_batch_drawer/', 'get_data_for_batch_drawer', name='get_data_for_batch_drawer'), # Ajax-urls required for MIS -------------------------------- url(r'^get_detailed_report/', 'get_detailed_report', name='get_detailed_report'), url(r'^get_universities/', 'get_universities', name='get_universities'), url(r'^get_students_for_batches/', 'get_students_for_batches', name='get_students_for_batches'), url(r'^get_anncourses_allstudents/', 'get_anncourses_allstudents', name='get_anncourses_allstudents'), url(r'^get_courses/', 'get_courses', name='get_courses'), url(r'^get_batches_with_acourse/', 'get_batches_with_acourse', name='get_batches_with_acourse'), url(r'^get_announced_courses_with_ctype/', 'get_announced_courses_with_ctype', name='get_announced_courses_with_ctype'), url(r'^get_colleges/(?P[\w-]+)$', 'get_colleges', name='get_colleges'), url(r'^get_districts/', 'get_districts', name='get_districts'), url(r'^get_affiliated_colleges/', 'get_affiliated_colleges', name='get_affiliated_colleges'), url(r'^get_students/', 'get_students', name='get_students'), url(r'^get_students_for_approval/', 'get_students_for_approval', name='get_students_for_approval'), url(r'^approve_students/', 'approve_students', name='approve_students'), url(r'^get_statewise_data/', 'get_statewise_data', name='get_statewise_data'), url(r'^get_college_wise_students_data/', 'get_college_wise_students_data', name='get_college_wise_students_data'), url(r'^rechedule_event/(?P[\w-]+)$','reschedule_task',name='reschedule_task'), url(r'^set_user_link/', 'set_user_link', name='set_user_link'), url(r'^set_enrollment_code/', 'set_enrollment_code', name='set_enrollment_code'), url(r'^get_students_assignments/', 'get_students_assignments', name='get_students_assignments'), url(r'^get_course_details_for_trainer/', 'get_course_details_for_trainer', name='get_course_details_for_trainer'), url(r'^event_assginee/(?P[\w-]+)$', 'event_assginee', name='event_assginee'), url(r'^save_csv/(?P[\w-]+)$', 'save_csv', name='save_csv'), url(r'^assessment/(?P[\w-]+)$','get_assessment',name='get_assessment'), url(r'^edit_task_title/', 'edit_task_title', name='edit_task_title'), url(r'^get_attendees/(?P[\w-]+)$', 'get_attendees', name='get_attendees'), url(r'^attendees/(?P[\w-]+)$', 'get_attendance', name='get_attendance'), url(r'^attendees_relations/(?P[\w-]+)$', 'attendees_relations', name='attendees_relations'), url(r'^close_event/(?P[\w-]+)$', 'close_event', name='close_event'), url(r'^fetch_course_name/(?P[^/]+)$', 'fetch_course_name', name='fetch_course_name'), url(r'^fetch_course_Module/(?P[^/]+)$', 'fetch_course_Module', name='fetch_course_Module'), url(r'^fetch_course_session/(?P[^/]+)$', 'fetch_course_session', name='fetch_course_session'), url(r'^fetch_course_batches/(?P[^/]+)$', 'fetch_course_batches', name='fetch_course_batches'), url(r'^fetch_batch_student/(?P[^/]+)$', 'fetch_batch_student', name='fetch_batch_student'), url(r'^events/', 'get_data_for_event_task', name='get_data_for_event_task'), url(r'^edit_task_content/', 'edit_task_content', name='edit_task_content'), url(r'^insert_picture/', 'insert_picture', name="insert_picture"), #url for infinite scroll down url(r'^page_scroll/(?P[^/]+)$', 'page_scroll', name='page_scroll'), url(r'^check_date/(?P[\w-]+)$', 'check_date', name='check_date'), url(r'^save_time/(?P[\w-]+)$', 'save_time', name='save_time'), )