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
ec61c3a9
Commit
ec61c3a9
authored
May 12, 2023
by
Star Neptune R. Sy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
forgot a dash at the dropdown label
parent
840d44c5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
models.py
widget_vincentdjango/assignments/models.py
+1
-1
db.sqlite3
widget_vincentdjango/db.sqlite3
+0
-0
No files found.
widget_vincentdjango/assignments/models.py
View file @
ec61c3a9
...
@@ -7,7 +7,7 @@ class Course(models.Model):
...
@@ -7,7 +7,7 @@ class Course(models.Model):
section
=
models
.
CharField
(
default
=
""
,
max_length
=
16
,)
section
=
models
.
CharField
(
default
=
""
,
max_length
=
16
,)
def
__str__
(
self
):
def
__str__
(
self
):
return
'{} {}'
.
format
(
self
.
course_code
,
self
.
section
,)
return
'{}
-
{}'
.
format
(
self
.
course_code
,
self
.
section
,)
def
anotherFormat
(
self
):
def
anotherFormat
(
self
):
return
'{} {}'
.
format
(
self
.
course_code
,
self
.
course_title
,)
return
'{} {}'
.
format
(
self
.
course_code
,
self
.
course_title
,)
...
...
widget_vincentdjango/db.sqlite3
View file @
ec61c3a9
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