Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (11 sloc) 0.369 kb
from classytags.arguments import Argument
from classytags.core import Tag, Options
from django import template
register = template.Library()
@register.tag
def language(parser, token):
try:
from django.templatetags.i18n import language
except ImportError:
from i18nurls.templatetags.i18nurls import language
return language(parser, token)
Jump to Line
Something went wrong with that request. Please try again.