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
fce4911f
Commit
fce4911f
authored
Apr 05, 2022
by
Joan Denise Nocos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: resolved issues with assignments view
parent
7ad2ce8d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
2 deletions
+2
-2
models.cpython-39.pyc
...et_group_17/assignments/__pycache__/models.cpython-39.pyc
+0
-0
views.cpython-39.pyc
widget_group_17/assignments/__pycache__/views.cpython-39.pyc
+0
-0
views.py
widget_group_17/assignments/views.py
+2
-2
db.sqlite3
widget_group_17/db.sqlite3
+0
-0
No files found.
widget_group_17/assignments/__pycache__/models.cpython-39.pyc
View file @
fce4911f
No preview for this file type
widget_group_17/assignments/__pycache__/views.cpython-39.pyc
View file @
fce4911f
No preview for this file type
widget_group_17/assignments/views.py
View file @
fce4911f
...
...
@@ -3,10 +3,10 @@ from assignments.models import Assignment, Course
# Create your views here.
def
index
(
request
):
assignments_view
=
"ASSIGNMENTS: "
assignments_view
=
"ASSIGNMENTS:
<br>
"
schoolwork
=
Assignment
.
objects
.
all
()
for
assignment
in
schoolwork
:
assignments_view
+=
"Assignment Name: {}<br>Description: {}<br>Perfect Score: {}<br>Passing Score: {}<br>Course/Section: {} {} {}<br><br>"
assignments_view
+=
"Assignment Name: {}<br>Description: {}<br>Perfect Score: {}<br>Passing Score: {}<br>Course/Section: {} {} {}<br><br>"
.
\
format
(
assignment
.
name
,
assignment
.
description
,
assignment
.
max_points
,
...
...
widget_group_17/db.sqlite3
View file @
fce4911f
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