added test for product load

This commit is contained in:
Sam
2021-02-03 12:33:32 +00:00
parent 05fa09a8f3
commit b7ab7eb5d3
3 changed files with 77 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ from django.conf import settings
# Create your views here.
from rest_framework import viewsets
from rest_framework.response import Response
from rest_framework.permissions import IsAuthenticatedOrReadOnly, IsAdminUser
from rest_framework.decorators import api_view, permission_classes