Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed version selector for english (quickfix).

  • Loading branch information...
commit fe953a29bf70a31239db9c2efbdb0ccca8aa87e9 1 parent ff7d1f0
Florian Apolloner authored June 15, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/templatetags/docs.py
2  docs/templatetags/docs.py
@@ -50,7 +50,7 @@ def render(self, context):
50 50
         versions = []
51 51
 
52 52
         # Look for each version of the docs.
53  
-        for release in DocumentRelease.objects.all():
  53
+        for release in DocumentRelease.objects.filter(lang=self.lang):
54 54
             version_root = get_doc_root(release.lang, release.version)
55 55
             if version_root.exists():
56 56
                 doc_path = get_doc_path(version_root, url)

0 notes on commit fe953a2

Please sign in to comment.
Something went wrong with that request. Please try again.