From 6a58f8ec20dc0e6b228e8ee05cc94bf6d0e57abf Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Tue, 3 Jul 2012 20:27:56 +0000 Subject: [PATCH] Start getting rid of the name= parameter of the urlconf. At first they look helpful, but it's a great bother to have to search for where every damn name is, instead of just reading it out of the code in the template or urlreverse. - Legacy-Id: 4575 --- ietf/idrfc/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/idrfc/urls.py b/ietf/idrfc/urls.py index 5e49eb4bf..d52c72ada 100644 --- a/ietf/idrfc/urls.py +++ b/ietf/idrfc/urls.py @@ -45,7 +45,7 @@ urlpatterns = patterns('', url(r'^(?P[A-Za-z0-9._+-]+)/((?P[0-9-]+)/)?$', views_doc.document_main, name="doc_view"), url(r'^(?P[A-Za-z0-9._+-]+)/history/$', views_doc.document_history, name="doc_history"), url(r'^(?P[A-Za-z0-9._+-]+)/writeup/$', views_doc.document_writeup, name="doc_writeup"), - url(r'^(?P[A-Za-z0-9._+-]+)/ballot/(?P[A-Za-z0-9.-]+)/position/$', views_ballot.edit_position, name='doc_edit_position'), + url(r'^(?P[A-Za-z0-9._+-]+)/ballot/(?P[A-Za-z0-9.-]+)/position/$', views_ballot.edit_position), url(r'^(?P[A-Za-z0-9._+-]+)/ballot/(?P[A-Za-z0-9.-]+)/emailposition/$', views_ballot.send_ballot_comment, name='doc_send_ballot_comment'), url(r'^(?P[A-Za-z0-9._+-]+)/ballot/(?P[A-Za-z0-9.-]+)/$', views_doc.document_ballot, name="doc_ballot"), url(r'^(?P[A-Za-z0-9._+-]+)/ballot/$', views_doc.document_ballot, name="doc_ballot"),