HomeSoftware Heritage

django: Ensure defined URLs have trailing slash

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

django: Ensure defined URLs have trailing slash

URLs targeting a django view must have a trailing slash as
django builtin feature APPEND_SLASH is activated by default.

If an URL definition does not have a trailing slash, this
will result in a 404 error as django will automatically add
a trailing slash if a user forgot to add it and thus the URL
resolving will fail.

Details

Provenance
anlambertAuthored on Mar 18 2022, 2:49 PM
anlambertPushed on Mar 18 2022, 5:07 PM
Differential Revision
D7390: django: Ensure defined URLs have trailing slash
Build Status
Buildable 27619
Build 43227: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.