SomethingGeneric / flaskpress

Wordpress but it's actually Python + Flask
GNU General Public License v3.0
0 stars 0 forks source link

Create profile template and refactor new post method #23

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

Description

This PR addresses two main tasks. First, it creates a new profile template (profile.html) to display the user's profile information. Second, it refactors the post() function in main.py to return all posts on a GET request and handle the creation of a new post on a POST request.

Summary of Changes

Please review and merge this PR. Thank you!

Fixes #16.


To checkout this PR branch, run the following command in your terminal:

git checkout sweep/profile-template-and-refactor-post-method

🎉 Latest improvements to Sweep:


💡 To get Sweep to edit this pull request, you can: