Can now add domains via manage API / UI

This commit is contained in:
Eliot Berriot 2019-01-05 18:21:35 +01:00
parent b69d9f221b
commit ddffbeadfa
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
6 changed files with 90 additions and 5 deletions

View file

@ -98,7 +98,10 @@ class ManageInvitationViewSet(
class ManageDomainViewSet(
mixins.ListModelMixin, mixins.RetrieveModelMixin, viewsets.GenericViewSet
mixins.CreateModelMixin,
mixins.ListModelMixin,
mixins.RetrieveModelMixin,
viewsets.GenericViewSet,
):
lookup_value_regex = r"[a-zA-Z0-9\-\.]+"
queryset = (