articleapp - detail.html
class Comment(models.Model):
article = models.ForeignKey(Article, on_delete=models.SET_NULL,null=True, related_name='comment')
writer = models.ForeignKey(User, on_delete=models.SET_NULL,null=True, related_name='comment')
content = models.TextField(null=False)
create_at = models.DateTimeField(auto_now=True)
urls.py
에 경로 추가정리 다시 하기