Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APPEND_SLASH not working #15

Open
st4lk opened this issue Mar 6, 2015 · 1 comment
Open

APPEND_SLASH not working #15

st4lk opened this issue Mar 6, 2015 · 1 comment

Comments

@st4lk
Copy link
Owner

st4lk commented Mar 6, 2015

Such test fails for some reason with example project:

 def test_append_slash(self):
        response = self.client.get('/ru/about')  # no slash at the end
        self.assertEqual(response.status_code, 301)
        response = self.client.get(response['Location'])
        self._base_page_check(response, "ru", "about")

Tried with django 1.7.4

@mehdipourfar
Copy link

I've fixed that issue for myself by adding CommonMiddleware after SolidLocaleMiddleware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants