Skip to content

Edited Publish and Remove Buttons to use POST requests#189

Open
alexgit55 wants to merge 1 commit intoDjangoGirls:masterfrom
alexgit55:master
Open

Edited Publish and Remove Buttons to use POST requests#189
alexgit55 wants to merge 1 commit intoDjangoGirls:masterfrom
alexgit55:master

Conversation

@alexgit55
Copy link

In the original code, the publish and remove buttons were still showing using regular buttons with tags, despite the text suggesting the use of forms. I wanted to update the code to use forms for the correct functionality and align with the description. For me, it also made more sense to refresh the post_draft_list page instead of going to the post_detail page so I could quickly verify that the post had been published and removed from the draft list.

In the original code, the publish and remove buttons were still showing using regular buttons with <a> tags, despite the text suggesting the use of forms.  I wanted to update the code to use forms for the correct functionality and be in line with what the description was saying
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