File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11from django .contrib import admin
22from django .urls import include , path
33from drf_spectacular .views import SpectacularAPIView , SpectacularSwaggerView
4- from rest_framework_simplejwt .views import (TokenObtainPairView ,
5- TokenRefreshView )
4+ from rest_framework_simplejwt .views import TokenObtainPairView , TokenRefreshView
65
76urlpatterns = [
87 path ("admin/" , admin .site .urls ),
Original file line number Diff line number Diff line change 55import pytest
66
77from items .models import Item
8- from items .tasks import (hourly_external_price_sync ,
9- simulate_external_price_sync_for_item )
8+ from items .tasks import (
9+ hourly_external_price_sync ,
10+ simulate_external_price_sync_for_item ,
11+ )
1012from items .utils .price_sync import sync_all_items
1113
1214
Original file line number Diff line number Diff line change 77
88from .models import Item
99from .serializers import ItemSerializer
10- from .tasks import (hourly_external_price_sync ,
11- simulate_external_price_sync_for_item )
10+ from .tasks import hourly_external_price_sync , simulate_external_price_sync_for_item
1211
1312
1413class ItemViewSet (viewsets .ModelViewSet ):
You can’t perform that action at this time.
0 commit comments