luc.jean  committed 27b98c8 Draft

#5 reverse() not patched on Apache/mod_wsgi --> Fix ok on AlwaysData hosting

  • Participants
  • Parent commits b8ada3a
  • Branches default

Comments (0)

Files changed (1)

File localeurl/

 from django.utils.translation.trans_real import parse_accept_lang_header
 from localeurl import settings as localeurl_settings
 # Importing models ensures that reverse() is patched soon enough. Refs #5.
+from localeurl.models import reverse
 from localeurl import utils
 # Make sure the default language is in the list of supported languages