Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'deploy' of into deploy

  • Loading branch information...
commit 0eb49fd8ce505d81cfa15fca275f66b23fb81237 2 parents 1f94e0e + 1a3e1ce
Jacob Kaplan-Moss jacobian authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  django_website/docs/
3  django_website/docs/
@@ -60,7 +60,8 @@ def objects_inventory(request, lang, version):
return response
def redirect_index(request, *args, **kwargs):
- return redirect(request.path.rstrip('index/'))
+ assert request.path.endswith('index/')
+ return redirect(request.path[:-6])
class DocSearchView(haystack.views.SearchView):
def __init__(self, **kwargs):
Please sign in to comment.
Something went wrong with that request. Please try again.