From b3f5721f3cf4225902000f2f76e5138135383792 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Thu, 8 Feb 2018 14:29:38 +0530 Subject: Add weightage for Quiz and Create Grading System App App Name: grades Grading System provides with the grade for a given value. It contains different grade ranges. Has its own default grading system. Allows you to modify and add grading system wth grade ranges. To be done: - Need to add README - Good UI - There are fields like can_be_used and order in models for future use. - More tests App name: Yaksh Now every quiz has a default weightage of 100%, can be changed. An aggregate is calculated for a given course. Using grades app a grade is provide to the aggregate value. --- grades/urls.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 grades/urls.py (limited to 'grades/urls.py') diff --git a/grades/urls.py b/grades/urls.py new file mode 100644 index 0000000..49276ba9 --- /dev/null +++ b/grades/urls.py @@ -0,0 +1,10 @@ +from django.conf.urls import url, patterns +from grades import views + +urlpatterns = [ + url(r'^$', views.grading_systems, name="grading_systems_home"), + url(r'^grading_systems/$', views.grading_systems, name="grading_systems"), + url(r'^add_grade/$', views.add_grading_system, name="add_grade"), + url(r'^add_grade/(?P\d+)/$', views.add_grading_system, + name="edit_grade"), +] -- cgit From ef5f9a8029ec19d0a039fff821106651aea9c426 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Mon, 2 Apr 2018 19:30:11 +0530 Subject: Upgrade Django from 1.9.5 to Django 1.10 - Change render_to_response usage to render --- grades/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grades/urls.py') diff --git a/grades/urls.py b/grades/urls.py index 49276ba9..32a7e4d 100644 --- a/grades/urls.py +++ b/grades/urls.py @@ -1,4 +1,4 @@ -from django.conf.urls import url, patterns +from django.conf.urls import url from grades import views urlpatterns = [ -- cgit