mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-07 22:03:17 +03:00
commit
b8d109f2cf
|
@ -135,7 +135,7 @@ Your URL conf must include a pattern that matches the version with a `'version'`
|
||||||
name='bookings-list'
|
name='bookings-list'
|
||||||
),
|
),
|
||||||
url(
|
url(
|
||||||
r'^(?P<version>[v1|v2]+)/bookings/(?P<pk>[0-9]+)/$',
|
r'^(?P<version>(v1|v2))/bookings/(?P<pk>[0-9]+)/$',
|
||||||
bookings_detail,
|
bookings_detail,
|
||||||
name='bookings-detail'
|
name='bookings-detail'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user