mirror of
https://github.com/adrigongv23/G26---Telemetry-Software.git
synced 2026-08-25 03:23:17 +02:00
29 lines
No EOL
1 KiB
Python
29 lines
No EOL
1 KiB
Python
"""
|
|
URL configuration for gades_manager project.
|
|
|
|
The `urlpatterns` list routes URLs to views. For more information please see:
|
|
https://docs.djangoproject.com/en/6.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 gestion import views # Importamos las vistas de la app donde guardaste la función
|
|
|
|
urlpatterns = [
|
|
path('admin/', admin.site.urls),
|
|
|
|
# Ruta raíz: cuando entres a la web, cargará directamente nuestro Dashboard
|
|
path('', views.inicio, name='inicio'),
|
|
|
|
# Tus otras rutas de aplicaciones...
|
|
] |