Commit 4c0f12a0 authored by Joseph Izon's avatar Joseph Izon 💀

Add the details and image paths for the urls

parent c5f90d3f
from django.urls import path from django.urls import path
from django.conf.urls.static import static
from django.conf import settings
from . import views from . import views
app_name = "homepages"
urlpatterns = [ urlpatterns = [
path('', views.index, name='index') #has 4 parameters path('', views.index, name='index'),
]
\ No newline at end of file # homepage/id_num
path("users/<int:id_num>/details", views.detail, name="detail"),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment