Skip to content

Commit c805e21

Browse files
author
Krystle Salazar
committed
Remove MediaViewSet's regex since upstream issue if fixed
See encode/django-rest-framework#6789
1 parent c4acdf8 commit c805e21

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

api/api/views/media_views.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ class MediaViewSet(AsyncViewSetMixin, AsyncAPIView, ReadOnlyModelViewSet):
4646
view_is_async = True
4747

4848
lookup_field = "identifier"
49-
# TODO: https://github.com/encode/django-rest-framework/pull/6789
50-
lookup_value_regex = (
51-
r"[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}"
52-
)
5349

5450
pagination_class = StandardPagination
5551

0 commit comments

Comments
 (0)