Revert "small refactoring favorites"

This reverts commit a4d7430379
This commit is contained in:
a.feteleu 2019-09-10 12:19:00 +00:00
parent c04d7b1bd3
commit cf1c10d6ec

View File

@ -1,12 +1,12 @@
"""Favorites urlpaths."""
from django.urls import path
from . import views
app_name = 'favorites'
urlpatterns = [
path('establishments/', views.FavoritesEstablishmentListView.as_view(),
name='establishment-list'),
path('<int:pk>/', views.FavoritesDestroyView.as_view(), name='remove-from-favorites'),
path('remove/<int:pk>/', views.FavoritesDestroyView.as_view(), name='delete-favorites'),
]