From 96539298001042e3a215278b918ea1dffef1f403 Mon Sep 17 00:00:00 2001 From: CruiseDevice Date: Mon, 30 Mar 2020 18:56:50 +0530 Subject: Fix ImproperlyConfigured URL issue --- api/urls.py | 1 + grades/urls.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/api/urls.py b/api/urls.py index 22a9b54..e81a275 100644 --- a/api/urls.py +++ b/api/urls.py @@ -2,6 +2,7 @@ from django.conf.urls import url from rest_framework.urlpatterns import format_suffix_patterns from api import views +app_name = 'api' urlpatterns = [ url(r'questions/$', views.QuestionList.as_view(), name='questions'), diff --git a/grades/urls.py b/grades/urls.py index 32a7e4d..f5616a8 100644 --- a/grades/urls.py +++ b/grades/urls.py @@ -1,6 +1,8 @@ from django.conf.urls import url from grades import views +app_name = 'grades' + urlpatterns = [ url(r'^$', views.grading_systems, name="grading_systems_home"), url(r'^grading_systems/$', views.grading_systems, name="grading_systems"), -- cgit