We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ca4554 commit 107f379Copy full SHA for 107f379
1 file changed
rdmo/options/viewsets.py
@@ -148,4 +148,6 @@ class AdditionalInputsViewSet(ChoicesViewSet):
148
149
class ProviderViewSet(ChoicesViewSet):
150
permission_classes = (IsAuthenticated, )
151
- queryset = settings.OPTIONSET_PROVIDERS
+
152
+ def get_queryset(self):
153
+ return getattr(settings, 'OPTIONSET_PROVIDERS', [])
0 commit comments