You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
960 B
19 lines
960 B
from django.urls import path
|
|
from .views import AddBookmarkView, RemoveBookmarkView, BookmarkStatusView, AddBookmarkListView, RemoveBookmarkListView, AddRateView, RemoveRateView, RateStatusView, AverageRateView
|
|
|
|
app_name = 'bookmark'
|
|
|
|
urlpatterns = [
|
|
# Bookmark URLs
|
|
path('add/', AddBookmarkView.as_view(), name='add_bookmark'),
|
|
path('add-list/', AddBookmarkListView.as_view(), name='add_bookmark_list'),
|
|
path('remove/', RemoveBookmarkView.as_view(), name='remove_bookmark'),
|
|
path('remove-list/', RemoveBookmarkListView.as_view(), name='remove_bookmark_list'),
|
|
path('status/', BookmarkStatusView.as_view(), name='bookmark_status'),
|
|
|
|
# Rate URLs
|
|
path('rate/add/', AddRateView.as_view(), name='add_rate'),
|
|
path('rate/remove/', RemoveRateView.as_view(), name='remove_rate'),
|
|
path('rate/status/', RateStatusView.as_view(), name='rate_status'),
|
|
path('rate/average/', AverageRateView.as_view(), name='average_rate'),
|
|
]
|