Module ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr body Return NameLoad orelse If AttributeLoad NameLoad attr body Return NameLoad orelse Assign NameStore Call NameLoad NameLoad Str NameLoad If NameLoad body ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Return CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr orelse Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot CompareIn NameLoad NameLoad body Raise Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Lambda arguments args NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad attr Return TupleLoad IfExp CompareGt NameLoad Num BinOpDiv BinOpMult NameLoad Num NameLoad Num NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareNotEq SubscriptLoad NameLoad Index Num NameLoad Assign NameStore ListComp Dict Str Str Str Str Str Str Call NameLoad NameLoad BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr ListComp BinOpMod Str AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad ListComp TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad comprehension NameStore NameLoad Assign NameStore Call NameLoad GeneratorExp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Assign NameStore Dict Str Str NameLoad NameLoad Return Call NameLoad Str NameLoad keyword Call NameLoad NameLoad decorator_list Call NameLoad NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore ListComp TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareIn Str NameLoad For TupleStore NameStore NameStore NameLoad body Assign NameStore CompareIn BinOpMod Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore CompareIn BinOpMod Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpOr CompareNotEq NameLoad Str NameLoad NameLoad body If CompareNotEq AttributeLoad NameLoad attr NameLoad body If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad SubscriptLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Index Num Index AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body For NameStore Call AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad SubscriptLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Index Num Index AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad NameLoad Index Str If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore NameLoad Break Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr keyword NameLoad NameLoad Return Call NameLoad Str NameLoad keyword Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index NameLoad For NameStore NameLoad body If Call NameLoad NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Dict Str Str AttributeLoad NameLoad attr NameLoad Return Call NameLoad Str NameLoad keyword Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Expr Call NameLoad NameLoad Return Call NameLoad Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad NameLoad Return Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr Str body Expr Call NameLoad NameLoad Return Call NameLoad Str Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad NameLoad Str NameLoad body Return Call NameLoad NameLoad NameLoad NameLoad NameLoad orelse Return Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Return Call NameLoad Call NameLoad Str decorator_list Call NameLoad NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpBitOr Call NameLoad keyword NameLoad Call NameLoad keyword NameLoad If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Return Call NameLoad Call NameLoad Str Assign NameStore Dict Str NameLoad Return Call NameLoad Str NameLoad keyword Call NameLoad NameLoad decorator_list Call NameLoad NameLoad AttributeLoad NameLoad attr
N/A django.shortcuts render_to_response django.http HttpResponseRedirect Http404 django.core.urlresolvers reverse django.template.context RequestContext django.conf settings django.contrib.auth.decorators user_passes_test django.contrib.contenttypes.models ContentType datatrans utils datatrans.models KeyValue datatrans.utils count_model_words can_translate N/A N/A user N/A N/A N/A N/A N/A N/A user is_authenticated N/A N/A False N/A N/A N/A user is_superuser N/A N/A True N/A N/A group_name N/A getattr settings DATATRANS_GROUP_NAME None N/A group_name N/A django.contrib.auth.models Group N/A translators N/A N/A N/A Group objects get name group_name N/A N/A translators N/A N/A N/A user groups all N/A N/A N/A user is_staff N/A _get_model_slug N/A N/A model N/A N/A N/A ct N/A N/A N/A ContentType objects get_for_model model N/A N/A %s.%s N/A N/A ct app_label N/A ct model N/A _get_model_entry N/A N/A slug N/A N/A N/A N/A app_label model_slug N/A N/A slug split . N/A N/A N/A ct N/A N/A N/A ContentType objects get app_label app_label model model_slug N/A N/A N/A N/A ContentType DoesNotExist N/A N/A N/A Http404 Content type not found. N/A model_class N/A N/A ct model_class N/A registry N/A N/A utils get_registry N/A N/A N/A model_class registry N/A N/A N/A Http404 No registered model found for given query. N/A model_class N/A _get_model_stats N/A N/A model filter N/A N/A N/A N/A x N/A x N/A N/A default_lang N/A N/A utils get_default_language N/A registry N/A N/A utils get_registry N/A keyvalues N/A filter N/A N/A N/A N/A N/A KeyValue objects for_model model N/A N/A N/A registry N/A model values exclude language default_lang N/A total N/A N/A keyvalues count N/A done N/A N/A N/A N/A keyvalues filter edited True fuzzy False count N/A N/A N/A N/A total 0 N/A N/A done 100 total 0 done total N/A model_list N/A N/A request N/A N/A N/A 
    Shows an overview of models to translate, along with the fields, languages
    and progress information.
    The context structure is defined as follows:

    context = {'models': [{'languages': [('nl', 'NL', (<percent_done>, <todo>, <total>)), ('fr', 'FR', (<percent_done>, <todo>, <total>))],
                           'field_names': [u'description'],
                           'stats': (75, 15, 20),
                           'slug': u'flags_app.flag',
                           'model_name': u'flag'}]}
     N/A registry N/A N/A utils get_registry N/A default_lang N/A N/A utils get_default_language N/A languages N/A l N/A l N/A settings LANGUAGES N/A N/A l N/A 0 default_lang N/A models N/A N/A slug model_name field_names stats words languages N/A _get_model_slug model N/A %s N/A N/A model _meta verbose_name N/A N/A %s N/A f verbose_name N/A f N/A N/A N/A registry N/A model values N/A _get_model_stats model N/A count_model_words model N/A N/A N/A l N/A 0 N/A l N/A 1 N/A _get_model_stats model filter N/A N/A N/A x N/A N/A N/A x filter language N/A l N/A 0 N/A l languages N/A model registry N/A total_words N/A sum N/A N/A m N/A words N/A m models N/A context N/A models words models total_words N/A N/A render_to_response datatrans/model_list.html context context_instance N/A RequestContext request N/A N/A user_passes_test can_translate N/A settings LOGIN_URL commit_translations N/A N/A request N/A N/A N/A translations N/A N/A N/A N/A N/A KeyValue objects get pk N/A int N/A N/A N/A k split _ N/A 1 v N/A N/A k v N/A N/A N/A request POST items N/A translation_ k N/A N/A keyvalue translation translations N/A N/A empty N/A N/A empty_%d N/A keyvalue pk N/A request POST N/A ignore N/A N/A ignore_%d N/A keyvalue pk N/A request POST N/A N/A N/A translation empty ignore N/A N/A N/A N/A keyvalue value translation N/A N/A N/A ignore N/A N/A N/A keyvalue value translation N/A N/A keyvalue fuzzy False N/A ignore N/A N/A N/A keyvalue fuzzy False N/A N/A keyvalue edited True N/A N/A N/A keyvalue save N/A get_context_object N/A N/A model fields language default_lang object N/A N/A N/A object_item N/A N/A N/A object_item N/A name N/A unicode object N/A N/A object_item N/A id N/A object id N/A N/A object_item N/A fields object_fields N/A N/A field N/A N/A fields values N/A N/A key N/A N/A N/A N/A N/A N/A N/A model objects filter pk N/A object pk values N/A field name N/A 0 N/A N/A field name N/A original N/A N/A N/A KeyValue objects get_keyvalue key default_lang object N/A field name N/A translation N/A N/A N/A KeyValue objects get_keyvalue key language object N/A field name N/A N/A N/A object_fields append N/A name verbose_name original translation N/A field name N/A unicode N/A field verbose_name original translation N/A object_item N/A needs_translation N/A N/A model fields language object N/A N/A N/A field N/A N/A fields values N/A N/A key N/A N/A N/A N/A N/A N/A N/A model objects filter pk N/A object pk values N/A field name N/A 0 N/A N/A field name N/A translation N/A N/A N/A KeyValue objects get_keyvalue key language N/A N/A N/A translation edited N/A N/A True N/A False N/A editor N/A N/A request model language objects N/A N/A N/A registry N/A N/A utils get_registry N/A fields N/A registry N/A model N/A default_lang N/A N/A utils get_default_language N/A model_name N/A %s N/A N/A model _meta verbose_name N/A first_unedited_translation None N/A object_list N/A N/A object objects N/A N/A context_object N/A get_context_object model fields language default_lang object N/A N/A N/A object_list append context_object N/A N/A first_unedited_translation None N/A N/A field N/A context_object N/A fields N/A N/A tr N/A field N/A translation N/A N/A N/A tr edited N/A N/A first_unedited_translation tr N/A N/A context N/A model objects original_language other_language progress first_unedited model_name object_list default_lang language N/A _get_model_stats model N/A N/A N/A x N/A N/A N/A x filter language language first_unedited_translation N/A N/A render_to_response datatrans/model_detail.html context context_instance N/A RequestContext request N/A selector N/A N/A request model language objects N/A N/A N/A fields N/A N/A N/A utils get_registry N/A model N/A object objects N/A N/A N/A needs_translation model fields language object N/A N/A N/A object todo True N/A context N/A model objects N/A model __name__ objects N/A N/A render_to_response datatrans/object_list.html context context_instance N/A RequestContext request N/A object_detail N/A N/A request slug language object_id N/A N/A N/A N/A N/A request method POST N/A N/A N/A commit_translations request N/A N/A HttpResponseRedirect . N/A model N/A _get_model_entry slug N/A objects N/A N/A N/A model objects filter id N/A int object_id N/A N/A editor request model language objects N/A N/A user_passes_test can_translate N/A settings LOGIN_URL model_detail N/A N/A request slug language N/A N/A N/A 
    The context structure is defined as follows:

    context = {'model': '<name of model>',
               'objects': [{'name': '<name of object>',
                            'fields': [{
                                'name': '<name of field>',
                                'original': '<kv>',
                                'translation': '<kv>'
                            ]}],
             }
     N/A N/A N/A request method POST N/A N/A N/A commit_translations request N/A N/A HttpResponseRedirect . N/A model N/A _get_model_entry slug N/A meta N/A N/A N/A utils get_meta N/A model N/A objects N/A N/A N/A model objects all N/A N/A getattr meta one_form_per_object False N/A N/A N/A selector request model language objects N/A N/A N/A editor request model language objects N/A N/A user_passes_test can_translate N/A settings LOGIN_URL make_messages N/A N/A request N/A N/A N/A N/A N/A utils make_messages N/A N/A HttpResponseRedirect N/A reverse datatrans_model_list N/A N/A user_passes_test can_translate N/A settings LOGIN_URL obsolete_list N/A N/A request N/A N/A django.db.models Q N/A default_lang N/A N/A utils get_default_language N/A all_obsoletes N/A N/A N/A N/A utils find_obsoletes order_by digest N/A obsoletes N/A N/A all_obsoletes filter N/A N/A Q edited True N/A Q language default_lang N/A N/A N/A request method POST N/A N/A N/A N/A all_obsoletes delete N/A N/A HttpResponseRedirect N/A reverse datatrans_obsolete_list N/A context N/A obsoletes obsoletes N/A N/A render_to_response datatrans/obsolete_list.html context context_instance N/A RequestContext request N/A N/A user_passes_test can_translate N/A settings LOGIN_URL