From e5868489767029771c994702e7b222e1f13e57da Mon Sep 17 00:00:00 2001 From: Ivlev Denis Date: Mon, 29 Jan 2018 11:12:53 +0300 Subject: [PATCH] Fix like url --- project/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/urls.py b/project/urls.py index c54f8cc6..c5f5b11a 100644 --- a/project/urls.py +++ b/project/urls.py @@ -24,7 +24,7 @@ urlpatterns = [ path('admin/', admin.site.urls), path('auth/', include(('apps.auth.urls', 'lilcity'))), path('courses/', CoursesView.as_view(), name='courses'), - path('courses//like', likes, name='likes'), + path('course//like', likes, name='likes'), path('', TemplateView.as_view(template_name="templates/lilcity/main.html"), name='index'), ]