summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCruiseDevice2020-03-30 18:56:50 +0530
committerCruiseDevice2020-03-30 18:56:50 +0530
commit96539298001042e3a215278b918ea1dffef1f403 (patch)
tree1ac6fc8d2c5194ca32d07f07e46a0bc414bdaf29
parent17e77e3d7ba5595a1d24004f886192ea2bb3f600 (diff)
downloadonline_test-96539298001042e3a215278b918ea1dffef1f403.tar.gz
online_test-96539298001042e3a215278b918ea1dffef1f403.tar.bz2
online_test-96539298001042e3a215278b918ea1dffef1f403.zip
Fix ImproperlyConfigured URL issue
-rw-r--r--api/urls.py1
-rw-r--r--grades/urls.py2
2 files changed, 3 insertions, 0 deletions
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"),