Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_group17
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
Vaughn Nephi Fajardo
widget_group17
Commits
41dffdc1
Commit
41dffdc1
authored
Apr 06, 2022
by
Miguel Luis D. Bandelaria
Browse files
Options
Browse Files
Download
Plain Diff
fix: merge and cache conflicts resolved
parents
0eb7daee
98087ae9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
models.cpython-39.pyc
...et_group_17/assignments/__pycache__/models.cpython-39.pyc
+0
-0
0005_alter_assignment_passing_score.cpython-39.pyc
...ache__/0005_alter_assignment_passing_score.cpython-39.pyc
+0
-0
models.py
widget_group_17/assignments/models.py
+5
-1
No files found.
widget_group_17/assignments/__pycache__/models.cpython-39.pyc
View file @
41dffdc1
No preview for this file type
widget_group_17/assignments/migrations/__pycache__/0005_alter_assignment_passing_score.cpython-39.pyc
0 → 100644
View file @
41dffdc1
File added
widget_group_17/assignments/models.py
View file @
41dffdc1
...
@@ -11,7 +11,11 @@ class Assignment(models.Model):
...
@@ -11,7 +11,11 @@ class Assignment(models.Model):
name
=
models
.
CharField
(
max_length
=
50
)
name
=
models
.
CharField
(
max_length
=
50
)
description
=
models
.
CharField
(
max_length
=
500
)
description
=
models
.
CharField
(
max_length
=
500
)
max_points
=
models
.
IntegerField
(
default
=
0
)
max_points
=
models
.
IntegerField
(
default
=
0
)
#def set_passing_score():
# return (max_points * 60) / 100
passing_score
=
models
.
IntegerField
(
default
=
0
)
passing_score
=
models
.
IntegerField
(
default
=
0
)
def
_str_
(
self
):
def
_str_
(
self
):
return
self
.
name
return
self
.
name
\ No newline at end of file
\ No newline at end of file
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