django APPEND_SLASH

#设置项是否开启URL访问地址后面不为/跳转至带有/的路径
APPEND_SLASH=True

原文地址:https://www.cnblogs.com/ajaxa/p/10451154.html