# HG changeset patch # User Todd Larsen # Date 1222845043 0 # Node ID 0408b85de42bbe6987160f5a1960c3a8b6a62291 # Parent dd0497f6da41ad1fd37beecb48f9ce4f181ad3e4 Matching just /docs created a very small namespace, since any other path parts would match the Document path. So, append /show after /docs for the display view. This makes other views like /docs/edit possible later. diff -r dd0497f6da41 -r 0408b85de42b app/soc/templates/soc/site/docs/edit.html --- a/app/soc/templates/soc/site/docs/edit.html Wed Oct 01 07:01:06 2008 +0000 +++ b/app/soc/templates/soc/site/docs/edit.html Wed Oct 01 07:10:43 2008 +0000 @@ -26,7 +26,7 @@ {% block header_title %} {% if existing_doc %} Modify Existing Document - "{{ existing_doc.title }}" + "{{ existing_doc.title }}" {% else %} Create a New Document {% endif %} diff -r dd0497f6da41 -r 0408b85de42b app/urls.py --- a/app/urls.py Wed Oct 01 07:01:06 2008 +0000 +++ b/app/urls.py Wed Oct 01 07:10:43 2008 +0000 @@ -44,7 +44,7 @@ 'soc.views.site.user.profile.edit'), (r'^site/user/list$', 'soc.views.site.user.list.all'), - (r'^docs/%s$' % key_name.WORK_PATH_LINKNAME_ARGS_PATTERN, + (r'^docs/show/%s$' % key_name.WORK_PATH_LINKNAME_ARGS_PATTERN, 'soc.views.docs.show.public'), (r'^site/docs/edit$', 'soc.views.site.docs.edit.create'),