Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_aguandhischipmunks
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
Adrian Lance Damalerio
midterm_aguandhischipmunks
Commits
7a25e9f9
Commit
7a25e9f9
authored
May 13, 2023
by
Deokhyun Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comment for edit view has been updated
parent
af0a8c3b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
views.py
widget_aguandhischipmunks/assignments/views.py
+2
-1
db.sqlite3
widget_aguandhischipmunks/db.sqlite3
+0
-0
No files found.
widget_aguandhischipmunks/assignments/views.py
View file @
7a25e9f9
...
@@ -38,7 +38,8 @@ class AssignmentEditView(UpdateView):
...
@@ -38,7 +38,8 @@ class AssignmentEditView(UpdateView):
template_name
=
'assignment-edit.html'
template_name
=
'assignment-edit.html'
# Get the assignment object based on the pk in the URL
# This will get the object, and this object is used to tell Django
# that we are updating.
def
get_object
(
self
,
queryset
=
None
):
def
get_object
(
self
,
queryset
=
None
):
pk
=
self
.
kwargs
.
get
(
'pk'
)
pk
=
self
.
kwargs
.
get
(
'pk'
)
return
Assignment
.
objects
.
get
(
pk
=
pk
)
return
Assignment
.
objects
.
get
(
pk
=
pk
)
...
...
widget_aguandhischipmunks/db.sqlite3
View file @
7a25e9f9
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