Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults kwarg body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Call NameLoad NameLoad Expr Str Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults kwarg body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body If NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Assign NameStore BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad NameLoad Return NameLoad decorator_list
N/A N/A Utility functions used by :mod:`lino.modlib.extjs.views`.

 __future__ unicode_literals django.conf settings django.db models django http django.core exceptions lino.core constants lino.core actors lino.utils.jsgen py2js json_response_kw N/A N/A N/A kw N/A N/A N/A json_response kw N/A json_response N/A N/A x content_type N/A application/json N/A N/A s N/A py2js x N/A 
    Theroretically we should send content_type='application/json'
    (http://stackoverflow.com/questions/477816/the-right-json-content-type),
    but "File uploads are not performed using Ajax submission, 
    that is they are not performed using XMLHttpRequests. (...) 
    If the server is using JSON to send the return object, then 
    the Content-Type header must be set to "text/html" in order 
    to tell the browser to insert the text unchanged into the 
    document body." 
    (http://docs.sencha.com/ext-js/3-4/#!/api/Ext.form.BasicForm)
    See 20120209.
     N/A N/A N/A http HttpResponse s content_type content_type N/A requested_actor N/A N/A app_label actor N/A N/A N/A 
    Utility function which returns the requested actor,
    either directly or (if specified name is a model) that
    model's default table.
     N/A x N/A getattr N/A N/A settings SITE modules app_label None N/A N/A x None N/A N/A N/A N/A http Http404 N/A There's no app_label %r here app_label N/A cl N/A getattr x actor None N/A N/A N/A isinstance cl type N/A N/A N/A N/A http Http404 N/A %s.%s is not a class N/A app_label actor N/A N/A issubclass cl N/A models Model N/A N/A N/A N/A cl get_default_table N/A N/A N/A issubclass cl N/A actors Actor N/A N/A N/A N/A http Http404 N/A %r is not an actor cl N/A cl N/A action_request N/A N/A app_label actor request rqdata is_list N/A kw N/A N/A rpt N/A requested_actor app_label actor N/A action_name N/A N/A rqdata get N/A constants URL_PARAM_ACTION_NAME None N/A N/A action_name N/A N/A is_list N/A N/A action_name N/A rpt default_list_action_name N/A N/A action_name N/A rpt default_elem_action_name N/A a N/A N/A rpt get_url_action action_name N/A N/A a None N/A N/A N/A N/A http Http404 N/A %s has no url action %r (possible values are %s) N/A rpt action_name N/A N/A rpt get_url_action_names N/A user N/A N/A request subst_user N/A request user N/A True N/A N/A N/A N/A N/A a get_view_permission N/A user profile N/A N/A N/A N/A exceptions PermissionDenied N/A As %s you have no permission to run this action. N/A user profile N/A ar N/A N/A rpt request request request action a rqdata rqdata kw N/A ar N/A