Skip to content

Commit 7bf489b

Browse files
committed
Merge branch 'fix-webpush-api' into master-3.2.1-with-custom
2 parents 591c084 + b3111e3 commit 7bf489b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

push_notifications/api/rest_framework.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ class WNSDeviceAuthorizedViewSet(AuthorizedMixin, WNSDeviceViewSet):
207207
class WebPushDeviceViewSet(DeviceViewSetMixin, ModelViewSet):
208208
queryset = WebPushDevice.objects.all()
209209
serializer_class = WebPushDeviceSerializer
210+
lookup_value_regex = '.+'
210211

211212

212213
class WebPushDeviceAuthorizedViewSet(AuthorizedMixin, WebPushDeviceViewSet):

0 commit comments

Comments
 (0)