jobportal/jobs/urls.py

11 lines
384 B
Python
Raw Normal View History

2020-12-28 20:28:52 +01:00
from django.urls import path
from .views import *
2020-12-31 15:10:53 +01:00
app_name = "jobs"
2020-12-28 20:28:52 +01:00
urlpatterns = [
path('', HomeView.as_view(), name="home"),
2021-01-13 19:41:55 +01:00
path('create-job/', CreateJobView.as_view(), name="create_job"),
2021-01-13 20:24:06 +01:00
path('detail/<slug>/<int:pk>/', SingleJobView.as_view(), name="single_job"),
2021-01-13 21:11:38 +01:00
path('category-detail/<slug>/<int:pk>/', CategoryDetailView.as_view(), name="category_detail"),
2020-12-28 20:28:52 +01:00
]