def catalog():
 global _default
 t = getattr(_active, u'value', None)
 if (t is not None):
  return t
 if (_default is None):
  from django.conf import settings
  _default = translation(settings.LANGUAGE_CODE)
 return _default

def catalog ( ) : global _default t = getattr ( _active , u'value' , None ) if ( t is not None ) : return t if ( _default is None ) : from django . conf import settings _default = translation ( settings . LANGUAGE_CODE ) return _default
restful crud controller .