diff --git a/docs/api-guide/versioning.md b/docs/api-guide/versioning.md index 06b0056a4..a062dc096 100644 --- a/docs/api-guide/versioning.md +++ b/docs/api-guide/versioning.md @@ -130,7 +130,7 @@ Your URL conf must include a pattern that matches the version with a `'version'` urlpatterns = [ url( - r'^(?P[v1|v2]+)/bookings/$', + r'^(?P(v1|v2))/bookings/$', bookings_list, name='bookings-list' ),