intro_Django/ProyectoWeb/ProyectoWebApp/urls.py
2020-11-21 04:07:02 -03:00

17 lines
437 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('tienda', views.tienda, name ='Tienda'),
path('contacto', views.contacto, name='Contacto'),
path('sample/', views.sample, name ='Sample'),
]
urlpatterns += static(settings.MEDIA_URL, document_root = settings.MEDIA_ROOT)