From e98876bb3822c2493d57e66bd3fb6e4ab5faf918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=20V=C3=AEjdea?= Date: Wed, 19 Dec 2018 23:51:53 +0200 Subject: [PATCH] Fix import errors in quickstart Fixes #277. Closes #278. Fixes #279. --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 1e7c84c..e10f8bd 100644 --- a/README.rst +++ b/README.rst @@ -114,6 +114,7 @@ In ``urls.py``: .. code:: python ... + from rest_framework import permissions from drf_yasg.views import get_schema_view from drf_yasg import openapi @@ -128,7 +129,6 @@ In ``urls.py``: contact=openapi.Contact(email="contact@snippets.local"), license=openapi.License(name="BSD License"), ), - validators=['flex', 'ssv'], public=True, permission_classes=(permissions.AllowAny,), )