Merge pull request #15 from WDI-Ideas/bobby_dev

refactor: food dataset api
This commit is contained in:
BOBBY VISHWAKARMA
2024-03-29 18:51:24 +05:30
committed by GitHub
2 changed files with 6 additions and 2 deletions

View File

@@ -618,8 +618,8 @@ class MealAPIView(APIView):
)
class FoodDataAPIView(APIView):
authentication_classes = [JWTAuthentication]
permission_classes = [IsAuthenticated]
authentication_classes = []
permission_classes = []
model = FoodIngredintDataset
serializer_class = FoodDatasetSerializer

View File

@@ -18,16 +18,20 @@ django-taggit==5.0.1
django-widget-tweaks==1.5.0
djangorestframework==3.14.0
djangorestframework-simplejwt==5.3.1
et-xmlfile==1.1.0
h11==0.14.0
httpcore==1.0.4
httpx==0.27.0
idna==3.6
iniconfig==2.0.0
mysqlclient==2.2.4
numpy==1.26.4
oauthlib==3.2.2
onesignal-python-api==2.0.2
onesignal-sdk==2.0.0
openpyxl==3.1.2
packaging==23.2
pandas==2.2.1
phonenumbers==8.13.30
pillow==10.2.0
pluggy==1.4.0