intro_Django/ProyectoWeb/ProyectoWebApp/urls.py
2020-11-20 15:43:51 -03:00

18 lines
539 B
Python

from django.urls import path
from ProyectoWebApp import views
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
path('', views.home, name="Inicio"),
path('servicios', views.servicios, name ='Servicios'),
path('tienda', views.tienda, name ='Tienda'),
path('blog', views.blog, name ='Blog'),
path('contacto', views.contacto, name='Contacto'),
path('sample/', views.sample, name ='Sample'),
]
urlpatterns += static(settings.MEDIA_URL, document_root = settings.MEDIA_ROOT)