From 9cae9faec1b55f23b3f6b1559741988cac62b28f Mon Sep 17 00:00:00 2001 From: Ivlev Denis Date: Mon, 5 Feb 2018 10:56:54 +0300 Subject: [PATCH] LIL-211. Add api urls to main url file --- project/urls.py | 1 + 1 file changed, 1 insertion(+) diff --git a/project/urls.py b/project/urls.py index 29213e45..776ec96c 100644 --- a/project/urls.py +++ b/project/urls.py @@ -41,6 +41,7 @@ urlpatterns = [ path('terms', TemplateView.as_view(template_name="templates/lilcity/terms.html"), name='terms'), path('refund-policy', TemplateView.as_view(template_name="templates/lilcity/refund_policy.html"), name='refund_policy'), path('', TemplateView.as_view(template_name="templates/lilcity/main.html", extra_context={'course_items': Course.objects.all()[:3]}), name='index'), + path('api/v1/', include(('api.v1.urls', 'api_v1'))), ]