{{{
url(r'^(?P<page_slug>\w+)-(?P<page_id>\w+)/history/$', views.history),
url(r'^(?P<page_slug>\w+)-(?P<page_id>\w+)/edit/$', views.edit),
url(r'^(?P<page_slug>\w+)-(?P<page_id>\w+)/discuss/$', views.discuss),
url(r'^(?P<page_slug>\w+)-(?P<page_id>\w+)/permissions/$',
views.permissions),
}}}
This is incorrect, since slugs can also contain dashes (`-`) so `[\w-]+`
should be used instead.
--
Ticket URL: <https://code.djangoproject.com/ticket/24700>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/24700#comment:1>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"269a5dbdd37362e27b2bb3bf3a600ffd5ea2c3bb" 269a5db]:
{{{
#!CommitTicketReference repository=""
revision="269a5dbdd37362e27b2bb3bf3a600ffd5ea2c3bb"
Fixed #24700 -- Added dash to slug regex in http docs
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24700#comment:2>
Comment (by Tim Graham <timograham@…>):
In [changeset:"2a334d79851944d3ba6752b3486e4274d2150c29" 2a334d79]:
{{{
#!CommitTicketReference repository=""
revision="2a334d79851944d3ba6752b3486e4274d2150c29"
[1.8.x] Fixed #24700 -- Added dash to slug regex in http docs
Backport of 269a5dbdd37362e27b2bb3bf3a600ffd5ea2c3bb from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24700#comment:3>