intro_Django/ProyectoWeb/ProyectoWebApp/urls.py
2020-11-24 04:52:40 -03:00

16 lines
383 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)