from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.IndexView.as_view(), name='manage'), url(r'^category/(?P[\w_-]+)/$', views.IndexView.as_view(), name='manage_cat'), url(r'^set_goal/$', views.set_goal, name='set_goal'), url(r'^ajax/(?P[\w_-]+)/$', views.AjaxNotifications.as_view(), name='ajax_view'), url(r'^ajax_history/(?P[\w_-]+)/$', views.AjaxHistory.as_view(), name='ajax_history'), url(r'^view_log/(?P[\w_-]+)/$', views.pendencies_view_log, name = 'view_log'), url(r'^hist_log/(?P[\w_-]+)/$', views.pendencies_hist_log, name = 'hist_log'), url(r'^(?P[\w_-]+)/$', views.SubjectNotifications.as_view(), name='view'), url(r'^(?P[\w_-]+)/history/$', views.SubjectHistory.as_view(), name='history'), ]