summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@snark.mit.edu>2009-06-14 23:28:58 -0400
committerbryan newbold <bnewbold@snark.mit.edu>2009-06-14 23:28:58 -0400
commitc2c48ce70e942aaea78d6a2100411803db7ff8bf (patch)
tree8a8a1dc43477e4555ddc83b29e94b8cbfef53964 /urls.py
parentae078728c8bc1c7d4412c4cb19b6802e9b7e8f74 (diff)
downloadequator-c2c48ce70e942aaea78d6a2100411803db7ff8bf.tar.gz
equator-c2c48ce70e942aaea78d6a2100411803db7ff8bf.zip
more progress on appengine conversion; BROKEN
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index 8cfbc18..3a6829a 100644
--- a/urls.py
+++ b/urls.py
@@ -6,6 +6,8 @@ from equations.models import Equation, Symbol, Variable
#admin.autodiscover()
urlpatterns = patterns('',
+ (r'^$', 'django.views.generic.simple.direct_to_template',
+ {'template': 'index.html'}),
(r'^go/', 'django.views.generic.simple.direct_to_template',
{'template': 'go.html'}),
(r'^admin/doc/', include('django.contrib.admindocs.urls')),
@@ -27,7 +29,7 @@ urlpatterns += patterns('django.views.generic.list_detail',
(r'^variable/(?P<object_id>\d+)/$', 'object_detail',
dict(queryset=Variable.objects.all() )),
)
-urlpatterns += patterns('equator.equations.views',
+urlpatterns += patterns('equations.views',
(r'^json/equs_by_vars/(?P<whichvars>[\d\,]*)/?$', 'equs_by_vars'),
(r'^json/vars_by_symbs/(?P<which_symbols>[\d\,]*)/?$', 'vars_by_symbs'),
(r'^json/all_variables/$', 'all_variables'),