dayday0calories / CITS5505-Group-Project

CITS5505 Group Project
MIT License
0 stars 0 forks source link

new feature: post and reply #6

Open dayday0calories opened 2 months ago

dayday0calories commented 2 months ago

Create Post Functionality: Allow users to craft new posts in the platform. Reply to Post Functionality: Introduce a reply feature where users can respond to existing posts.

dayday0calories commented 1 month ago

I have already

  1. Modify the view_post function so that users can now see the last reply date.

  2. Modify the create_post function to include a new category select list, allowing users to select a tag for their post.

  3. Design a new post_details function that allows users to view the details of a post. Modify the detail.html file to accommodate this function.

  4. Design a reply_post function that enables users to reply to a post. Modify the detail.html file to reflect this change.

lingering126 commented 1 month ago

Thanks! I reviewed your code and I noticed there is an issue that in models.py you used default=datetime.utcnow. It will display UTC time and maybe confusing in user interface.