from django.urls import path from . import views app_name = 'mensaviewer' urlpatterns = [ path('', views.home, name='home'), path('menu//', views.MenuDetailView.as_view(), name='menu_detail'), path('menu//like/', views.like, name='like'), path('menu//dislike/', views.dislike, name='dislike'), path('menu//comment/', views.CommentCreateView.as_view(), name='comment'), path('location/create/', views.LocationCreateView.as_view(), name='location_create') ]