diff -r fdf808d7d374 -r e3ebe3545f72 web/hdalab/urls.py --- a/web/hdalab/urls.py Mon Feb 06 18:50:19 2012 +0100 +++ b/web/hdalab/urls.py Thu Feb 16 21:48:40 2012 +0100 @@ -1,6 +1,8 @@ # -*- coding: utf-8 -*- from django.conf.urls.defaults import patterns, include, url from django.contrib import admin +from django.views.generic import TemplateView +#from hdalab.views.ajax import filter # Uncomment the next two lines to enable the admin: # from django.contrib import admin @@ -17,5 +19,13 @@ # Uncomment the next line to enable the admin: url(r'^admin/', include(admin.site.urls)), - + url(r'^$', TemplateView.as_view(template_name="index.html")), + ) + +urlpatterns += patterns('hdalab.views.ajax', + (r'^a/filter$', 'filter', {}, 'filter'), + (r'^a/taginfo$', 'taginfo', {}, 'tag_info'), + (r'^a/sessioninfo$', 'sessioninfo', {}, 'session_info'), + (r'^a/tagsearch$', 'tagsearch', {}, 'tag_search'), +)