Permalink
Browse files

adds some notes about why we don't have language overrides yet

  • Loading branch information...
1 parent 0b641ef commit 6c57ffa0652f92a1d7cc96f76872157e45661bf1 @stefanfoulis stefanfoulis committed Dec 10, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 stacks/templatetags/stack_tags.py
@@ -20,8 +20,9 @@ class StackNode(Tag):
)
def render_tag(self, context, code, varname):
- # TODO: language override (the reason this is not implemented, is that language selection is burried way
- # down somewhere in render_plugins. There it gets extracted from the request)
+ # TODO: language override (the reason this is not implemented, is that language selection is buried way
+ # down somewhere in some method called in render_plugins. There it gets extracted from the request
+ # and a language in request.GET always overrides everything.)
if not code:
# an empty string was passed in or the variable is not available in the context
return ''

0 comments on commit 6c57ffa

Please sign in to comment.