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
adfcb9f1
Commit
adfcb9f1
authored
Apr 05, 2022
by
Joan Denise Nocos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: populated passing_score field for Assignment model
parent
fce4911f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
2 additions
and
3 deletions
+2
-3
models.cpython-39.pyc
...et_group_17/assignments/__pycache__/models.cpython-39.pyc
+0
-0
0004_auto_20220406_0329.py
...roup_17/assignments/migrations/0004_auto_20220406_0329.py
+1
-1
0004_auto_20220406_0329.cpython-39.pyc
...ations/__pycache__/0004_auto_20220406_0329.cpython-39.pyc
+0
-0
0005_remove_assignment_passing_score.cpython-39.pyc
...che__/0005_remove_assignment_passing_score.cpython-39.pyc
+0
-0
models.py
widget_group_17/assignments/models.py
+1
-2
db.sqlite3
widget_group_17/db.sqlite3
+0
-0
No files found.
widget_group_17/assignments/__pycache__/models.cpython-39.pyc
View file @
adfcb9f1
No preview for this file type
widget_group_17/assignments/migrations/0004_auto_2022040
5_1823
.py
→
widget_group_17/assignments/migrations/0004_auto_2022040
6_0329
.py
View file @
adfcb9f1
# Generated by Django 3.2.12 on 2022-04-05 1
0:23
# Generated by Django 3.2.12 on 2022-04-05 1
9:29
from
django.db
import
migrations
,
models
from
django.db
import
migrations
,
models
import
django.db.models.deletion
import
django.db.models.deletion
...
...
widget_group_17/assignments/migrations/__pycache__/0004_auto_20220406_0329.cpython-39.pyc
0 → 100644
View file @
adfcb9f1
File added
widget_group_17/assignments/migrations/__pycache__/0005_remove_assignment_passing_score.cpython-39.pyc
0 → 100644
View file @
adfcb9f1
File added
widget_group_17/assignments/models.py
View file @
adfcb9f1
...
@@ -7,8 +7,7 @@ class Course(models.Model):
...
@@ -7,8 +7,7 @@ class Course(models.Model):
section
=
models
.
CharField
(
max_length
=
3
)
section
=
models
.
CharField
(
max_length
=
3
)
class
Assignment
(
models
.
Model
):
class
Assignment
(
models
.
Model
):
course
=
models
.
ForeignKey
(
Course
,
on_delete
=
models
.
CASCADE
)
course
=
models
.
ForeignKey
(
Course
,
on_delete
=
models
.
CASCADE
,
null
=
True
)
course
.
null
=
True
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
)
...
...
widget_group_17/db.sqlite3
View file @
adfcb9f1
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