bioweb  0.09.92
C++/Python(django)/JavaScript(angularJS) framework
urls.py
1 ## @file web/urls.py
2 # @brief Django urls
3 
4 from django.conf.urls import patterns, include, url
5 #from django.conf import settings
6 
7 import views
8 import version.models
9 
10 web_srv_prefix = version.models.getWebSrvPrefix()
11 
12 urlpatterns = patterns('',
13  url(r'^' + web_srv_prefix + '/ajax/(?P<module>\w+)/(?P<function>\w+)/', views.ajax, name='ajax'),
14  url(r'^$', views.index, name='index')
15 )
16 
17 
18