Added missing django.db.models import to docs
Merge pull request #2230 from dbrgn/docs_import_fix

Added missing django.db.models import to docs
Unicode fix to make Sphinx 1.2b2 happy
Merge pull request #2233 from yakky/feature/unicode_fix_docs_test

Unicode fix to make Sphinx 1.2b2 happy
Fixed a bug in the language menu.

If `current_lang` is `None`, then `current_lang['code']` fails of
course.