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
793c3116
Commit
793c3116
authored
May 14, 2023
by
Ysabella Panghulan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'forumv2'
parents
e51551c9
987985e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
forum.html
widget_princessgabi/forum/templates/forum/forum.html
+1
-1
urls.py
widget_princessgabi/forum/urls.py
+1
-1
No files found.
widget_princessgabi/forum/templates/forum/forum.html
View file @
793c3116
...
...
@@ -26,7 +26,7 @@
{% endfor %}
</ol>
</div>
<a
href=
"
../
forumposts/add/"
class=
"add-btn"
><i
class=
"fa fa-plus"
></i>
New Post
</a>
<a
href=
"forumposts/add/"
class=
"add-btn"
><i
class=
"fa fa-plus"
></i>
New Post
</a>
</div>
{% endblock %}
<div
class=
"links"
>
...
...
widget_princessgabi/forum/urls.py
View file @
793c3116
...
...
@@ -3,7 +3,7 @@ from .views import forum, ForumPostDetailView, ForumPostCreateView, ForumPostUpd
urlpatterns
=
[
path
(
''
,
forum
,
name
=
"forum"
),
path
(
"forum/forumposts/<int:pk>/details/"
,
ForumPostDetailView
.
as_view
(),
name
=
"forumpost-details"
),
path
(
'forum/forumposts/<int:pk>/details/'
,
ForumPostDetailView
.
as_view
(),
name
=
"forumpost-details"
),
path
(
'forumposts/add'
,
ForumPostCreateView
.
as_view
(),
name
=
"forumpost-add"
),
path
(
'forumposts/<int:pk>/edit'
,
ForumPostUpdateView
.
as_view
(),
name
=
"forumpost-edit"
)
]
...
...
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