Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_group 18
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rac Gerard Elizaga
widget_group 18
Commits
8099d616
Commit
8099d616
authored
Apr 05, 2022
by
Joerell Frank Yee Lao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed the problem wherein the assignments page displays passing scores with decimals
parent
e02b3d58
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
1 deletion
+1
-1
views.cpython-310.pyc
...et_group_18/assignments/__pycache__/views.cpython-310.pyc
+0
-0
views.py
widget_group_18/assignments/views.py
+1
-1
db.sqlite3
widget_group_18/db.sqlite3
+0
-0
No files found.
widget_group_18/assignments/__pycache__/views.cpython-310.pyc
View file @
8099d616
No preview for this file type
widget_group_18/assignments/views.py
View file @
8099d616
...
...
@@ -15,7 +15,7 @@ def index(request):
if
i
.
course_code
==
j
.
course
.
course_code
:
j
.
passing_score
=
j
.
max_points
*
0.6
j
.
save
()
message
+=
f
'Assignment Name: {j.name} <br/> Decription: {j.description} <br/> Perfect Score: {j.max_points} <br/> Passing Score: {
j.passing_score
} <br/>'
message
+=
f
'Assignment Name: {j.name} <br/> Decription: {j.description} <br/> Perfect Score: {j.max_points} <br/> Passing Score: {
int(j.passing_score)
} <br/>'
message
+=
f
'Course/Section: {i.course_code} {i.course_title} {i.section} <br/>'
message
+=
'<br/>'
...
...
widget_group_18/db.sqlite3
View file @
8099d616
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment