Bladeren bron

修复bug

peng 2 jaren geleden
bovenliggende
commit
6c10f98d9d
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      background/views.py

+ 1 - 1
background/views.py

@@ -33,7 +33,7 @@ class VideoInfoSet(ModelViewSet):
 
 
 class QuickStartInfoSet(ModelViewSet):
-    # authentication_classes = [MyAuthentication, ]
+    authentication_classes = [MyAuthentication, ]
     queryset = QuickStartInfo.objects.all()
     serializer_class = QuickStartInfoSerializer
     filterset_fields = ['id', 'product_info_id', 'title']