Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Django 1.8 get_language() returning None #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sbnb
Copy link

@sbnb sbnb commented Apr 17, 2015

  • Django 1.8 get_language() returns None if there are no active translations,
    previously returned LANGUAGE_CODE
  • TransMeta requires a value for lang, and already has fallback_language()
    so use that in get_real_fieldname if both param lang and get_language()
    are None

- Django 1.8 get_language() returns None if there are no active translations, 
  previously returned LANGUAGE_CODE
- TransMeta requires a value for lang, and already has fallback_language()
  so use that in get_real_fieldname if both param lang and get_language()
  are None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant