"""OneGuyAPI URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.0/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin


from django.urls import path, include
from api import api_router
from userapp.views import LoginView

from mainapp.views import IndexView
from django.urls import path, include
from goodsapp import views
from api_view import goods_api
from django.conf.urls.static import static
from django.conf import settings
from api import api_router

urlpatterns = [
    path('admin/', admin.site.urls),
    path('goodsshop/',include('goodsapp.urls',namespace='goodsshop')),
    path('user/', include('userapp.urls', namespace='user')),
    path('api/', include(api_router.urls)),

    path('',IndexView.as_view(),name='index'),

    path('api/',include(api_router.urls)),
    path('goodsapi/',goods_api.Goods_Api_View.as_view(),name='goodsapi'),
    path('goodscartapi/',goods_api.Goodscart_Api_View.as_view(),name='goodscartapi'),
    path('api/', include(api_router.urls)),
    path('user/', include('userapp.urls', namespace='userapp')),
    path('city/', include('mainapp.urls',namespace='city')),
]+static(settings.MEDIA_URL,document_root=settings.MEDIA_ROOT)







6d9620e0baf0e947f87f524a9fdf9b96c20bb828
<mask token>

<mask token>
urlpatterns = [path('admin/', admin.site.urls), path('goodsshop/', include(
    'goodsapp.urls', namespace='goodsshop')), path('user/', include(
    'userapp.urls', namespace='user')), path('api/', include(api_router.
    urls)), path('', IndexView.as_view(), name='index'), path('api/',
    include(api_router.urls)), path('goodsapi/', goods_api.Goods_Api_View.
    as_view(), name='goodsapi'), path('goodscartapi/', goods_api.
    Goodscart_Api_View.as_view(), name='goodscartapi'), path('api/',
    include(api_router.urls)), path('user/', include('userapp.urls',
    namespace='userapp')), path('city/', include('mainapp.urls', namespace=
    'city'))] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

<mask token>
from django.contrib import admin
from django.urls import path, include
from api import api_router
from userapp.views import LoginView
from mainapp.views import IndexView
from django.urls import path, include
from goodsapp import views
from api_view import goods_api
from django.conf.urls.static import static
from django.conf import settings
from api import api_router
urlpatterns = [path('admin/', admin.site.urls), path('goodsshop/', include(
    'goodsapp.urls', namespace='goodsshop')), path('user/', include(
    'userapp.urls', namespace='user')), path('api/', include(api_router.
    urls)), path('', IndexView.as_view(), name='index'), path('api/',
    include(api_router.urls)), path('goodsapi/', goods_api.Goods_Api_View.
    as_view(), name='goodsapi'), path('goodscartapi/', goods_api.
    Goodscart_Api_View.as_view(), name='goodscartapi'), path('api/',
    include(api_router.urls)), path('user/', include('userapp.urls',
    namespace='userapp')), path('city/', include('mainapp.urls', namespace=
    'city'))] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

"""OneGuyAPI URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.0/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin


from django.urls import path, include
from api import api_router
from userapp.views import LoginView

from mainapp.views import IndexView
from django.urls import path, include
from goodsapp import views
from api_view import goods_api
from django.conf.urls.static import static
from django.conf import settings
from api import api_router

urlpatterns = [
    path('admin/', admin.site.urls),
    path('goodsshop/',include('goodsapp.urls',namespace='goodsshop')),
    path('user/', include('userapp.urls', namespace='user')),
    path('api/', include(api_router.urls)),

    path('',IndexView.as_view(),name='index'),

    path('api/',include(api_router.urls)),
    path('goodsapi/',goods_api.Goods_Api_View.as_view(),name='goodsapi'),
    path('goodscartapi/',goods_api.Goodscart_Api_View.as_view(),name='goodscartapi'),
    path('api/', include(api_router.urls)),
    path('user/', include('userapp.urls', namespace='userapp')),
    path('city/', include('mainapp.urls',namespace='city')),
]+static(settings.MEDIA_URL,document_root=settings.MEDIA_ROOT)






