Commit 46a8a40d authored by Andre Dalwin C. Tan's avatar Andre Dalwin C. Tan 💬

modified models and views to remove any references between ForumPost and Reply model.

parent a0c586b4
...@@ -17,7 +17,6 @@ class ForumPost(models.Model): ...@@ -17,7 +17,6 @@ class ForumPost(models.Model):
class Reply(models.Model): class Reply(models.Model):
forum = models.ForeignKey(ForumPost, on_delete = models.CASCADE)
body = models.CharField(max_length=1000) body = models.CharField(max_length=1000)
author = models.CharField(max_length = 100) author = models.CharField(max_length = 100)
# If connecting to WidgetUser # If connecting to WidgetUser
......
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