mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 16:24:18 +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'
|
||||
),
|
||||
url(
|
||||
r'^(?P<version>[v1|v2]+)/bookings/(?P<pk>[0-9]+)/$',
|
||||
r'^(?P<version>(v1|v2))/bookings/(?P<pk>[0-9]+)/$',
|
||||
bookings_detail,
|
||||
name='bookings-detail'
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user