1. Oben Sonne
  2. diggie

Commits

Oben Sonne  committed 08ba5f1

Allow white space in page names

  • Participants
  • Parent commits 379819e
  • Branches default

Comments (0)

Files changed (1)

File dingeling/urls.py

View file
  • Ignore whitespace
     (r'^pages$', 'pages'),
     (r'^changes$', 'changes'),
     (r'^files$', 'files'),
-    (r'^page/(?P<name>\w+)$', 'page'),
-    (r'^edit/(?P<name>\w+)$', 'edit'),
-    (r'^delete/(?P<name>\w+)$', 'delete'),
+    (r'^page/(?P<name>[\w -]+)$', 'page'),
+    (r'^edit/(?P<name>[\w -]+)$', 'edit'),
+    (r'^delete/(?P<name>[\w -]+)$', 'delete'),
     (r'^label/(?P<name>[\w-]+)$', 'label'),
     (r'^.*$', 'lost'),