Commit 200dda91 by José Padilla

Merge pull request #3675 from pt247/master

Fix for Incorrect regex in URLPathVersioning documentation #3638
parents d0352ae6 8b97bb8f
...@@ -130,7 +130,7 @@ Your URL conf must include a pattern that matches the version with a `'version'` ...@@ -130,7 +130,7 @@ Your URL conf must include a pattern that matches the version with a `'version'`
urlpatterns = [ urlpatterns = [
url( url(
r'^(?P<version>[v1|v2]+)/bookings/$', r'^(?P<version>(v1|v2))/bookings/$',
bookings_list, bookings_list,
name='bookings-list' name='bookings-list'
), ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment