Coverage for pear\urls.py: 100%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1"""project URL Configuration
3The `urlpatterns` list routes URLs to views. For more information please see:
4 https://docs.djangoproject.com/en/3.2/topics/http/urls/
5Examples:
6Function views
7 1. Add an import: from my_app import views
8 2. Add a URL to urlpatterns: path('', views.home, name='home')
9Class-based views
10 1. Add an import: from other_app.views import Home
11 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')
12Including another URLconf
13 1. Import the include() function: from django.urls import include, path
14 2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
15"""
16from django.conf import settings
17from django.contrib import admin
18from django.urls import include, path
20urlpatterns = [
21 path('admin/', admin.site.urls),
22 path('api/v1/users/', include('users.urls')),
23 path('api/v1/data/', include('dashboard.urls'))
24]
26# if settings.DEBUG:
27# import debug_toolbar
28# urlpatterns = [
29# path('__debug__/', include(debug_toolbar.urls)),
30# ] + urlpatterns