jobportal/jobs/urls.py
2021-01-13 20:24:06 +01:00

10 lines
284 B
Python

from django.urls import path
from .views import *
app_name = "jobs"
urlpatterns = [
path('', HomeView.as_view(), name="home"),
path('create-job/', CreateJobView.as_view(), name="create_job"),
path('detail/<slug>/<int:pk>/', SingleJobView.as_view(), name="single_job"),
]