fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Running the old version.
[edumed.git]
/
contact
/
urls.py
diff --git
a/contact/urls.py
b/contact/urls.py
index
16033a1
..
ed6f49c
100644
(file)
--- a/
contact/urls.py
+++ b/
contact/urls.py
@@
-5,6
+5,10
@@
from . import views
urlpatterns = patterns(
'contact.views',
url(r'^(?P<form_tag>[^/]+)/$', views.form, name='contact_form'),
urlpatterns = patterns(
'contact.views',
url(r'^(?P<form_tag>[^/]+)/$', views.form, name='contact_form'),
+ url(r'^(?P<form_tag>[^/]+)/edit/(?P<contact_id>[0-9]+)/(?P<key>[0-9a-zA-Z]+)/$', views.form, name='edit_form'),
url(r'^(?P<form_tag>[^/]+)/thanks/$', views.thanks, name='contact_thanks'),
url(r'^attachment/(?P<contact_id>\d+)/(?P<tag>[^/]+)/$', views.attachment, name='contact_attachment'),
url(r'^(?P<form_tag>[^/]+)/thanks/$', views.thanks, name='contact_thanks'),
url(r'^attachment/(?P<contact_id>\d+)/(?P<tag>[^/]+)/$', views.attachment, name='contact_attachment'),
+ url(r'^attachment/(?P<contact_id>\d+)/(?P<tag>[^/]+)/(?P<key>[0-9a-zA-Z]+)/$', views.attachment_key,
+ name='contact_attachment_key'),
+ url(r'^results/(?P<contact_id>\d+)/(?P<digest>[0-9a-f]+)/', views.results, name='contact_results'),
)
)