intro_Django/ProyectoWeb/ProyectoWebApp/urls.py
2020-11-23 20:04:39 -03:00

16 lines
382 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('sample/', views.sample, name ='Sample'),
]
urlpatterns += static(settings.MEDIA_URL, document_root = settings.MEDIA_ROOT)