10 lines
284 B
Python
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"),
|
|
]
|