Sure: https://docs.djangoproject.com/en/1.11/ref/settings/#append-slash

But it does mean, the url is not resolved.

On Sun, Sep 3, 2017 at 1:33 PM, George White <[email protected]> wrote:
> Mezzanine seems to send 301s to almost every URL that doesn't end in a / if
> it isn't found. For example:
>
> Suppose the following URL doesn't exist:
>
> /this-does-not-exist
>
> On accessing the above URL, Mezzanine returns a 301 to
>
> /this-does-not-exist/
>
> This inhibits the browser from accessing a URL provided by another app that
> is not /-terminated if the resource is accessed before it existed, i.e.
>
> 1. Access /app/test-2
> 2. Create test-2 in app
> 3. Access /app/test-2
>
> And the browser redirects to /app/test-2/ even though the URL is correct
> because of the previous 301.
>
> Could this behavior be changed?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.



-- 
Melvyn Sopacua

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to