瀏覽代碼

修复bug

peng 2 年之前
父節點
當前提交
6c10f98d9d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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']