Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_gitgud
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
Neal Luigi D. Rodriguez
midterm_gitgud
Commits
eff8d7c6
Commit
eff8d7c6
authored
Mar 02, 2023
by
Neal Luigi D. Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
models have been modified for passing_score
parent
dd90a1f1
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
1 deletion
+2
-1
__init__.cpython-39.pyc
...et_gitgud/Assignments/__pycache__/__init__.cpython-39.pyc
+0
-0
apps.cpython-39.pyc
widget_gitgud/Assignments/__pycache__/apps.cpython-39.pyc
+0
-0
models.cpython-39.pyc
widget_gitgud/Assignments/__pycache__/models.cpython-39.pyc
+0
-0
models.py
widget_gitgud/Assignments/models.py
+2
-1
settings.cpython-39.pyc
..._gitgud/widget_gitgud/__pycache__/settings.cpython-39.pyc
+0
-0
No files found.
widget_gitgud/Assignments/__pycache__/__init__.cpython-39.pyc
0 → 100644
View file @
eff8d7c6
File added
widget_gitgud/Assignments/__pycache__/apps.cpython-39.pyc
0 → 100644
View file @
eff8d7c6
File added
widget_gitgud/Assignments/__pycache__/models.cpython-39.pyc
0 → 100644
View file @
eff8d7c6
File added
widget_gitgud/Assignments/models.py
View file @
eff8d7c6
...
@@ -14,4 +14,5 @@ class Assignment(models.Model):
...
@@ -14,4 +14,5 @@ class Assignment(models.Model):
on_delete
=
models
.
PROTECT
,
on_delete
=
models
.
PROTECT
,
)
)
perfect_score
=
models
.
IntegerField
()
perfect_score
=
models
.
IntegerField
()
passing_score
=
models
.
IntegerField
(
0.60
*
perfect_score
)
passing
=
0.60
*
float
(
perfect_score
)
\ No newline at end of file
passing_score
=
models
.
FloatField
(
passing
)
\ No newline at end of file
widget_gitgud/widget_gitgud/__pycache__/settings.cpython-39.pyc
View file @
eff8d7c6
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