Remove trailing slashes in Django URLs

前端 未结 0 549
南笙
南笙 2021-01-18 10:58

Is there any way of stripping all trailing URLs in Django and redirecting them to the non slashed URL.

i.e. If I go to /home/ I want to be redirected to /home. Curren

相关标签:
回答
  • 消灭零回复
提交回复
热议问题