32 (r'^code/(\d+)/$', 'testappproj.testapp.views.code'), |
32 (r'^code/(\d+)/$', 'testappproj.testapp.views.code'), |
33 (r'^admin/(.*)', admin.site.root), |
33 (r'^admin/(.*)', admin.site.root), |
34 (r'^new/$', 'testappproj.testapp.views.new_edit'), |
34 (r'^new/$', 'testappproj.testapp.views.new_edit'), |
35 (r'^problems/$', 'testappproj.testapp.views.problems'), |
35 (r'^problems/$', 'testappproj.testapp.views.problems'), |
36 (r'^run/$', 'testappproj.testapp.views.run'), |
36 (r'^run/$', 'testappproj.testapp.views.run'), |
37 (r'^upload/$', 'testappproj.testapp.views.upload'), |
|
38 (r'^static/(?P<path>.*)$', 'django.views.static.serve', |
37 (r'^static/(?P<path>.*)$', 'django.views.static.serve', |
39 {'document_root': os.path.realpath(os.path.dirname( |
38 {'document_root': os.path.realpath(os.path.dirname( |
40 sys.modules[__name__].__file__) + '/static/')}), |
39 sys.modules[__name__].__file__) + '/static/')}), |
41 (r'^shell/$', 'testappproj.testapp.views.shell') |
40 (r'^completed/$','testappproj.testapp.views.complete') |
42 |
41 |
43 ) |
42 ) |
44 |
43 |