fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Backdoor testing url for contest form
[edumed.git]
/
wtem
/
urls.py
diff --git
a/wtem/urls.py
b/wtem/urls.py
index
4fc156e
..
c78e8bd
100644
(file)
--- a/
wtem/urls.py
+++ b/
wtem/urls.py
@@
-1,6
+1,9
@@
from django.conf.urls import patterns, url
from django.conf.urls import patterns, url
-from .views import main
+from django.conf import settings
+from .views import main, form, form_during
urlpatterns = patterns('',
urlpatterns = patterns('',
- url(r'^$', main, name = 'wtem_main')
-)
\ No newline at end of file
+ url(r'^$', main, name = 'wtem_main'),
+ url(r'^_test/(?P<key>.*)/$', form_during),
+ url(r'^(?P<key>.*)/$', form, name = 'wtem_form')
+)