Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed version selector for english (quickfix).

  • Loading branch information...
commit fe953a29bf70a31239db9c2efbdb0ccca8aa87e9 1 parent ff7d1f0
@apollo13 apollo13 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/templatetags/docs.py
View
2  docs/templatetags/docs.py
@@ -50,7 +50,7 @@ def render(self, context):
versions = []
# Look for each version of the docs.
- for release in DocumentRelease.objects.all():
+ for release in DocumentRelease.objects.filter(lang=self.lang):
version_root = get_doc_root(release.lang, release.version)
if version_root.exists():
doc_path = get_doc_path(version_root, url)
Please sign in to comment.
Something went wrong with that request. Please try again.