urls
djangomain.urls
¤
djangomain URL Configuration
The urlpatterns
list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.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'))
Attributes¤
urlpatterns = [path('', HomePageView.as_view(), name='home'), path('admin/', admin.site.urls), path('auth/', include('django.contrib.auth.urls')), path('register/', SignUpView.as_view(), name='auth_register'), path('api/token/', TokenObtainPairView.as_view(), name='token_obtain_pair'), path('api/token/refresh/', TokenRefreshView.as_view(), name='token_refresh'), path('api/token/verify/', TokenVerifyView.as_view(), name='token_verify'), path('measurement/', include('measurement.urls', namespace='measurement')), path('django_plotly_dash/', include('django_plotly_dash.urls')), path('importing/', include('importing.urls', namespace='importing')), path('formatting/', include('formatting.urls', namespace='formatting')), path('variable/', include('variable.urls', namespace='variable')), path('sensor/', include('sensor.urls', namespace='sensor')), path('station/', include('station.urls', namespace='station'))]
module-attribute
¤
Classes¤
HomePageView
¤
Bases: TemplateView
View for displaying the home page and map dash app.