diff options
author | bryan newbold <bnewbold@snark.mit.edu> | 2009-06-14 23:28:58 -0400 |
---|---|---|
committer | bryan newbold <bnewbold@snark.mit.edu> | 2009-06-14 23:28:58 -0400 |
commit | c2c48ce70e942aaea78d6a2100411803db7ff8bf (patch) | |
tree | 8a8a1dc43477e4555ddc83b29e94b8cbfef53964 /urls.py | |
parent | ae078728c8bc1c7d4412c4cb19b6802e9b7e8f74 (diff) | |
download | equator-c2c48ce70e942aaea78d6a2100411803db7ff8bf.tar.gz equator-c2c48ce70e942aaea78d6a2100411803db7ff8bf.zip |
more progress on appengine conversion; BROKEN
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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'), |