# Path: chemistry/views.py
# def submit(request):
# def history(request):
# def suitetask(request, sid=None):
# def singletask(request, pid=None):
# def hide(request, id):
# 
# Path: chemistry/api_views.py
# def smile_search(request):
# def mol_upload(request):
# def task_submit(request):
# def suitetask(request):
# def singletask(request):
# def history(request):


from django.conf.urls import patterns, url
from chemistry import views, api_views
from django.views.generic import TemplateView
#coding: utf-8


urlpatterns = patterns('',
    url(r'^newtask/$', views.submit),
    url(r'^history/$', views.history),
    url(r'^hide/(?P<id>.{36})', views.hide),
    url(r'^details/suite/(?P<sid>.{36})$', views.suitetask),
    url(r'^details/task/(?P<pid>.{36})$', views.singletask),
    url(r'^chemwriter/$', TemplateView.as_view(template_name='chemwriter.html')),

    url(r'^api/smile-search/$', api_views.smile_search),
    url(r'^api/mol-upload/$', api_views.mol_upload),
    url(r'^api/task-submit/$', api_views.task_submit),
    url(r'^api/suitetask/$', api_views.suitetask),
    url(r'^api/singletask/$', api_views.singletask),

# Path: chemistry/views.py
# def submit(request):
# def history(request):
# def suitetask(request, sid=None):
# def singletask(request, pid=None):
# def hide(request, id):
# 
# Path: chemistry/api_views.py
# def smile_search(request):
# def mol_upload(request):
# def task_submit(request):
# def suitetask(request):
# def singletask(request):
# def history(request):


# Path: chemistry/urls.py
from django.conf.urls import patterns, url
from chemistry import views, api_views
from django.views.generic import TemplateView

#coding: utf-8


urlpatterns = patterns('',
    url(r'^newtask/$', views.submit),
    url(r'^history/$', views.history),
    url(r'^hide/(?P<id>.{36})', views.hide),
    url(r'^details/suite/(?P<sid>.{36})$', views.suitetask),
    url(r'^details/task/(?P<pid>.{36})$', views.singletask),
    url(r'^chemwriter/$', TemplateView.as_view(template_name='chemwriter.html')),

    url(r'^api/smile-search/$', api_views.smile_search),
    url(r'^api/mol-upload/$', api_views.mol_upload),
    url(r'^api/task-submit/$', api_views.task_submit),
    url(r'^api/suitetask/$', api_views.suitetask),
    url(r'^api/singletask/$', api_views.singletask),

    url(r'^api/history/$', api_views.history),