[Django]-Django-rest returning http 301 status code when calling http delete without trailing slash

8👍

The 301 is expected because Django redirects you to the URL with the trailing slash since you have trailing_slash=True. See APPEND_SLASH settings if you want to change that.

Leave a comment