9 lines
323 B
Python
9 lines
323 B
Python
from django.contrib import admin
|
|
from django.urls import path
|
|
from . import views as api_views
|
|
urlpatterns = [
|
|
path('create_comment/<id>', api_views.add_comment),
|
|
path('link/<id>/<uuid>', api_views.like),
|
|
path('unlink/<id>/<uuid>', api_views.un_like),
|
|
path('check_like/<id>/<uuid>', api_views.check_like),
|
|
] |