Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_vincentdjango
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
1
Merge Requests
1
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
Almira Redoble
midterm_vincentdjango
Commits
56cc32ca
Commit
56cc32ca
authored
Mar 05, 2023
by
Star Neptune R. Sy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
populated the data
parent
e073ed3d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
0002_alter_course_course_code.py
...o/assignments/migrations/0002_alter_course_course_code.py
+18
-0
models.py
widget_vincentdjango/assignments/models.py
+3
-0
db.sqlite3
widget_vincentdjango/db.sqlite3
+0
-0
No files found.
widget_vincentdjango/assignments/migrations/0002_alter_course_course_code.py
0 → 100644
View file @
56cc32ca
# Generated by Django 3.2 on 2023-03-05 09:21
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'assignments'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'course'
,
name
=
'course_code'
,
field
=
models
.
CharField
(
default
=
''
,
max_length
=
10
,
unique
=
True
),
),
]
widget_vincentdjango/assignments/models.py
View file @
56cc32ca
...
...
@@ -20,6 +20,9 @@ class Assignment(models.Model):
on_delete
=
models
.
CASCADE
,
related_name
=
'subject'
)
def
__str__
(
self
):
return
'{} {}-'
.
format
(
self
.
assignment_name
,
self
.
section
,)
widget_vincentdjango/db.sqlite3
View file @
56cc32ca
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