Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parent field to Post #274

Closed
wants to merge 1 commit into from
Closed

Add parent field to Post #274

wants to merge 1 commit into from

Conversation

BoPeng
Copy link
Contributor

@BoPeng BoPeng commented Apr 23, 2022

NOTE: This is a proof-of-concept PR and will be improved if it is determined to be acceptable.

#227

django-machina currently does not support tree-like reply structure like django-threadedcomments. Where it is difficult to provide full support for threaded comments in templates, it is fairly easy to add a parent field that allows users to track such information, and implement the tree-like display of posts by themselves. This PR would provide the core data structure so that they do not have to override Post.

Note that this PR does not change forum_conversation.urls, and only add ?parent=pk to the post_create url.

@BoPeng BoPeng closed this Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant