You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
513 B
Python
13 lines
513 B
Python
2 years ago
|
from django.urls import path
|
||
|
from . import views
|
||
|
|
||
|
app_name = 'mensaviewer'
|
||
|
urlpatterns = [
|
||
|
path('', views.home, name='home'),
|
||
|
path('menu/<int:pk>/', views.MenuDetailView.as_view(), name='menu_detail'),
|
||
|
path('menu/<int:pk>/like/', views.like, name='like'),
|
||
|
path('menu/<int:pk>/dislike/', views.dislike, name='dislike'),
|
||
|
path('menu/<int:pk>/comment/', views.CommentCreateView.as_view(), name='comment'),
|
||
|
path('location/create/', views.LocationCreateView.as_view(), name='location_create')
|
||
|
]
|