Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_casanatics
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
John Aidan Vincent M. Ng
midterm_casanatics
Commits
bda093ac
Commit
bda093ac
authored
Mar 06, 2023
by
justin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed forum post call in view in accordance to field rename in forum app
parent
37450f76
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
1 deletion
+1
-1
admin.cpython-310.pyc
widget_casanatics/forum/__pycache__/admin.cpython-310.pyc
+0
-0
views.cpython-310.pyc
widget_casanatics/forum/__pycache__/views.cpython-310.pyc
+0
-0
views.py
widget_casanatics/forum/views.py
+1
-1
No files found.
widget_casanatics/forum/__pycache__/admin.cpython-310.pyc
View file @
bda093ac
No preview for this file type
widget_casanatics/forum/__pycache__/views.cpython-310.pyc
View file @
bda093ac
No preview for this file type
widget_casanatics/forum/views.py
View file @
bda093ac
...
@@ -24,7 +24,7 @@ def forum(request):
...
@@ -24,7 +24,7 @@ def forum(request):
for
reply
in
post_replies
:
for
reply
in
post_replies
:
localdatetime
=
timezone
.
localtime
(
reply
.
pub_datetime
)
localdatetime
=
timezone
.
localtime
(
reply
.
pub_datetime
)
if
reply
.
forum
==
post
:
if
reply
.
forum
_post
==
post
:
forum_view
+=
"""
forum_view
+=
"""
Reply by {} posted {}: <br>
Reply by {} posted {}: <br>
{} <br>
{} <br>
...
...
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