I am having some issues with trailing slashes.
The application is working fine from my local machine whether I add a trailing slash or not.
It is not working as expected on the servers. The link is being redirected to localhost for some reason.
I thought that SLASH_APPEND= True was on by default in the settings.py file.
1. I can add that to the settings file.
url(r'^waitlist/',
2. I can add waitlist/?' ( ?)
to each url.
On my machine the url router goes to the correct page, but it now is missing the /
waitlist/add_account/
now becomes
waitlistadd_account/ (the middle / is missing, but the code seems to be working.)
Any help would be appreciated.
While I am on a similar subject,
to make the request case insensitive, if I make the above call like this to make it case insensitive, is this the best way, are there any side effects of this approach?
url(r'^(?i)waitlist/?'
Thanks in advance.
We are using nginx, is there any way to code the case insensitivity piece in there?
Thanks
Bob