Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_princessgabi
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
Ysabella Panghulan
midterm_princessgabi
Commits
dde9c6b5
Commit
dde9c6b5
authored
Mar 04, 2023
by
Trisha Angel Millena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edited views.py: added missingauthors
parent
1bc8589a
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
2 deletions
+2
-2
db.sqlite3
widget_princessgabi/db.sqlite3
+0
-0
admin.cpython-39.pyc
widget_princessgabi/forum/__pycache__/admin.cpython-39.pyc
+0
-0
views.cpython-39.pyc
widget_princessgabi/forum/__pycache__/views.cpython-39.pyc
+0
-0
views.py
widget_princessgabi/forum/views.py
+2
-2
wsgi.cpython-39.pyc
...sgabi/widget_princessgabi/__pycache__/wsgi.cpython-39.pyc
+0
-0
No files found.
widget_princessgabi/db.sqlite3
View file @
dde9c6b5
No preview for this file type
widget_princessgabi/forum/__pycache__/admin.cpython-39.pyc
View file @
dde9c6b5
No preview for this file type
widget_princessgabi/forum/__pycache__/views.cpython-39.pyc
View file @
dde9c6b5
No preview for this file type
widget_princessgabi/forum/views.py
View file @
dde9c6b5
...
...
@@ -12,7 +12,7 @@ def index(request):
for
post
in
posts
:
for
reply
in
replies
:
if
reply
.
post
.
title
==
post
.
title
:
welcoming
=
welcoming
+
post
.
title
+
" by "
+
" posted "
+
post
.
pub_datetime
.
strftime
(
'
%
I:
%
M
%
p'
)
+
":<br>"
+
post
.
body
+
"<br>"
+
"Reply by "
+
" posted "
+
reply
.
pub_datetime
.
strftime
(
'
%
I:
%
M
%
p'
)
+
":<br>"
+
reply
.
body
+
"<br>"
welcoming
=
welcoming
+
post
.
title
+
" by "
+
" posted "
+
post
.
pub_datetime
.
strftime
(
'
%
I:
%
M
%
p'
)
+
":<br>"
+
post
.
body
+
"<br>"
welcoming
=
welcoming
+
post
.
title
+
" by "
+
post
.
author
.
first_name
+
" "
+
post
.
author
.
last_name
+
" posted "
+
post
.
pub_datetime
.
strftime
(
'
%
I:
%
M
%
p'
)
+
":<br>"
+
post
.
body
+
"<br>"
+
"Reply by "
+
reply
.
author
.
first_name
+
" "
+
reply
.
author
.
last_name
+
" posted "
+
reply
.
pub_datetime
.
strftime
(
'
%
I:
%
M
%
p'
)
+
":<br>"
+
reply
.
body
+
"<br>"
welcoming
=
welcoming
+
post
.
title
+
" by "
+
post
.
author
.
first_name
+
" "
+
post
.
author
.
last_name
+
" posted "
+
post
.
pub_datetime
.
strftime
(
'
%
I:
%
M
%
p'
)
+
":<br>"
+
post
.
body
+
"<br>"
return
HttpResponse
(
welcoming
)
widget_princessgabi/widget_princessgabi/__pycache__/wsgi.cpython-39.pyc
0 → 100644
View file @
dde9c6b5
File added
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