Skip to content
This repository has been archived by the owner on Oct 28, 2019. It is now read-only.

Commit

Permalink
Update viewset regex to allow period
Browse files Browse the repository at this point in the history
  • Loading branch information
werwty committed May 23, 2017
1 parent b3ff9a9 commit 4f6ca97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platform/pulp/app/viewsets/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ class WorkerViewSet(NamedModelViewSet):
endpoint_name = 'workers'
lookup_field = 'name'
http_method_names = ['get', 'options']
lookup_value_regex = '[^/]+'

0 comments on commit 4f6ca97

Please sign in to comment.