Commit f9a34572 authored by Andre Dalwin C. Tan's avatar Andre Dalwin C. Tan

Fixed Add Post button in forum.html

parent 401a70f6
# Generated by Django 3.2 on 2023-05-08 08:54
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('forum', '0002_rename_forum_reply_forum_post'),
]
operations = [
migrations.AlterField(
model_name='reply',
name='forum_post',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='replies', to='forum.forumpost'),
),
]
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
{% endfor %} {% endfor %}
</ul> </ul>
<form action="./add"> <form action="./forumpost/add">
<button type="Submit">New Post</button> <button type="Submit">New Post</button>
</form> </form>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment