I finally released my project to the production level and suddenly I have some issues I never had to deal with in the development phase.
When the users posts some ac
Maybe you have no Comments record with such primary key, then you should use this code:
try: comment = Comment.objects.get(pk=comment_id) except Comment.DoesNotExist: comment = None