code: def languages(request):
      
      return render_json(request,
                         settings.LANGUAGE_DOMAINS if hasattr(settings, 'LANGUAGE_DOMAINS') else
                         {"error": "Languages are not set. (Set LANGUAGE_DOMAINS in settings.py)"},
                         template='common_json.html', help_text=languages.__doc__)
docs: Returns languages that are available in the system.
  
      Returns Dict: language_code -> domain