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-14 14:54:00 +01:00
|
|
|
path('search/', SearchJobView.as_view(), name="search"),
|
2021-01-13 20:24:06 +01:00
|
|
|
path('detail/<slug>/<int:pk>/', SingleJobView.as_view(), name="single_job"),
|
2021-01-15 19:58:42 +01:00
|
|
|
path('update/<slug>/<int:pk>/', UpdateJobView.as_view(), name="update_job"),
|
|
|
|
path('delete/<slug>/<int:pk>/', DeleteJobView.as_view(), name="delete_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
|
|
|
]
|