from django.urls import path, include
from rest_framework.routers import DefaultRouter

from . import views
from .views import ProductViewSet, StoreViewSet, PendingStoreViewSet, TagViewSet

viewset_url = DefaultRouter()
viewset_url.register(r"products", ProductViewSet)
viewset_url.register(r"stores", StoreViewSet)
viewset_url.register(r"tags", TagViewSet)
viewset_url.register(r"pending_store", PendingStoreViewSet)

urlpatterns = [
    path("stores/propose", views.propose),
    path("stores/add", views.add),
    path(r"", include(viewset_url.urls))
]

494066d92f11651641c1ef865363bfd16e528e69
<mask token>

<mask token>
viewset_url.register('products', ProductViewSet)
viewset_url.register('stores', StoreViewSet)
viewset_url.register('tags', TagViewSet)
viewset_url.register('pending_store', PendingStoreViewSet)
<mask token>

<mask token>
viewset_url = DefaultRouter()
viewset_url.register('products', ProductViewSet)
viewset_url.register('stores', StoreViewSet)
viewset_url.register('tags', TagViewSet)
viewset_url.register('pending_store', PendingStoreViewSet)
urlpatterns = [path('stores/propose', views.propose), path('stores/add',
    views.add), path('', include(viewset_url.urls))]

from django.urls import path, include
from rest_framework.routers import DefaultRouter
from . import views
from .views import ProductViewSet, StoreViewSet, PendingStoreViewSet, TagViewSet
viewset_url = DefaultRouter()
viewset_url.register('products', ProductViewSet)
viewset_url.register('stores', StoreViewSet)
viewset_url.register('tags', TagViewSet)
viewset_url.register('pending_store', PendingStoreViewSet)
urlpatterns = [path('stores/propose', views.propose), path('stores/add',
    views.add), path('', include(viewset_url.urls))]

from django.urls import path, include
from rest_framework.routers import DefaultRouter

from . import views
from .views import ProductViewSet, StoreViewSet, PendingStoreViewSet, TagViewSet

viewset_url = DefaultRouter()
viewset_url.register(r"products", ProductViewSet)
viewset_url.register(r"stores", StoreViewSet)
viewset_url.register(r"tags", TagViewSet)
viewset_url.register(r"pending_store", PendingStoreViewSet)

urlpatterns = [
    path("stores/propose", views.propose),
    path("stores/add", views.add),
    path(r"", include(viewset_url.urls))
]
