Commits

Carl Meyer committed 01b1364

Added version relevance note for iri_to_uri fix.

  • Participants
  • Parent commits 684006d

Comments (0)

Files changed (1)

File localeurl/middleware.py

             if request.META.get("QUERY_STRING", ""):
                 locale_url = "%s?%s" % (locale_url,
                         request.META['QUERY_STRING'])
+            # @@@ iri_to_uri for Django 1.0; 1.1+ do it in HttpResp...Redirect
             return HttpResponsePermanentRedirect(iri_to_uri(locale_url))
         request.path_info = path
         if not locale: