Skip to content

Conversation

@vidhiii1711
Copy link

Fixes a 405 error when non-superusers attempt to delete their own community feeds.
The delete form submits a POST request to a URL without a trailing slash, which triggers a redirect when APPEND_SLASH=True, converting the request to GET. Adding the trailing slash to the URL pattern prevents the redirect and allows the feed to be deleted correctly.

Fixes #1646

Letme know if there's any other changes needed !!

@ulgens
Copy link
Member

ulgens commented Jan 10, 2026

I'll recommend adding a test. LGTM otherwise.

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.

Cannot delete own feed from Django Community Blog

2 participants