From 2a0fa1ab4eff07b5ec5169b7fe98a0f2c97a3e94 Mon Sep 17 00:00:00 2001 From: vsevolod kolchinsky Date: Thu, 5 May 2016 09:03:34 +0300 Subject: [PATCH] allows registration throttle control --- rest_auth/registration/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rest_auth/registration/views.py b/rest_auth/registration/views.py index 41ca856..de31f38 100644 --- a/rest_auth/registration/views.py +++ b/rest_auth/registration/views.py @@ -28,6 +28,7 @@ class RegisterView(CreateAPIView): serializer_class = RegisterSerializer permission_classes = (AllowAny, ) token_model = TokenModel + throttle_scope = 'register_view' def get_response_data(self, user): if allauth_settings.EMAIL_VERIFICATION == \