Commit bffd88c2 authored by Joseph Izon's avatar Joseph Izon 💀

add path for users/add

parent 82e00a03
from django.urls import path from django.urls import path
from django.conf.urls.static import static from django.conf.urls.static import static
from django.conf import settings from django.conf import settings
from . import views from . import views
app_name = "homepages" app_name = "homepages"
...@@ -9,5 +10,8 @@ urlpatterns = [ ...@@ -9,5 +10,8 @@ urlpatterns = [
# homepage/id_num # homepage/id_num
path("users/<int:id_num>/details", views.detail, name="detail"), path("users/<int:id_num>/details", views.detail, name="detail"),
# homepage/id_num
path("users/add", views.add, name="add"),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) ] + 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