Does test.png exist? By default when Django encounters a 404 it attempts adding a slash to the end of the url. In a production environment Django wouldn't (shouldn't) be serving static files so it doesn't matter although it does produce this slightly odd behavior when using the run server
On Mon, Jan 26, 2015 at 2:24 AM, Lee Ray <[email protected]> wrote: > > when I request a static file like " http://127.0.0.1/static/test.png", > always get " http://127.0.0.1/static/test.png/ " back. > why is the " / " added at the end automatic ? > > -- > 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. > -- 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.
