2023-10-20 05:49:17 +00:00
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
app_name = 'usethesource'
|
|
|
|
urlpatterns = [
|
|
|
|
path('', views.landing_page, name='landing'),
|
2023-10-24 12:55:14 +00:00
|
|
|
path('candidate/<slug:slug>/', views.candidate_page, name='candidate'),
|
|
|
|
path('download/<slug:slug>/<download_type>/', views.download_page, name='download'),
|
|
|
|
path('add-comment/<slug:slug>/', views.create_comment, name='add_comment'),
|
|
|
|
path('edit-comment/<int:comment_id>/', views.edit_comment, name='edit_comment'),
|
|
|
|
path('comment/<int:comment_id>/<show_add>/', views.view_comment, name='view_comment'),
|
|
|
|
path('delete-comment/<int:comment_id>/<show_add>/', views.delete_comment, name='delete_comment'),
|
|
|
|
path('add-button/<slug:slug>/', views.add_button, name='add_button'),
|
2023-10-20 05:49:17 +00:00
|
|
|
]
|