Module ImportFrom alias alias alias ImportFrom alias alias alias alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore ListLoad Str Assign NameStore Call NameLoad Str NameLoad FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr attr Return Call NameLoad Str keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Return Call NameLoad Call NameLoad Str keyword AttributeLoad NameLoad attr Return Call NameLoad Str keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num If UnaryOpNot NameLoad body Return Call NameLoad Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Return Call NameLoad Str keyword NameLoad keyword NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Assign NameStore Call NameLoad keyword NameLoad If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return Call NameLoad Call NameLoad Str keyword AttributeLoad NameLoad attr Return Call NameLoad Str keyword NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str NameLoad
N/A flask Blueprint request g flask render_template redirect url_for abort models Node NodeStatus Topic fill_topics forms NodeForm helpers force_int utils.user require_staff N/A __all__ N/A bp N/A bp N/A Blueprint node __name__ nodes N/A N/A N/A N/A N/A Nodes pages. N/A nodes N/A N/A N/A N/A N/A Node query order_by N/A N/A N/A Node updated desc all N/A N/A render_template node/nodes.html nodes nodes N/A N/A N/A bp route / create N/A N/A N/A N/A N/A 
    Create a node by staff members.
     N/A form N/A NodeForm N/A N/A N/A form validate_on_submit N/A N/A node N/A N/A form save N/A N/A redirect N/A url_for .view urlname N/A node urlname N/A N/A render_template node/create.html form form N/A N/A N/A bp route /create methods N/A GET POST require_staff view N/A N/A urlname N/A N/A N/A 
    The view page of the Node.

    The node page should contain the information of the node, and topics
    in this node.

    :param urlname: the urlname of the Node model
     N/A node N/A N/A N/A N/A N/A Node query filter_by urlname urlname first_or_404 N/A page N/A force_int N/A N/A N/A request args get page 1 0 N/A N/A page N/A N/A N/A abort 404 N/A paginator N/A N/A N/A N/A N/A N/A N/A Topic query filter_by node_id N/A node id order_by N/A N/A N/A Topic id desc paginate page N/A N/A paginator items N/A fill_topics N/A paginator items N/A status None N/A N/A g user N/A N/A status N/A N/A N/A N/A N/A NodeStatus query filter_by account_id N/A N/A g user id node_id N/A node id first N/A N/A render_template node/view.html node node paginator paginator status status N/A N/A N/A bp route /<urlname> edit N/A N/A urlname N/A N/A N/A 
    Edit a node by staff members.

    :param urlname: the urlname of the Node model
     N/A node N/A N/A N/A N/A N/A Node query filter_by urlname urlname first_or_404 N/A form N/A NodeForm obj node N/A N/A N/A form validate_on_submit N/A N/A N/A N/A form populate_obj node N/A N/A N/A node save N/A N/A redirect N/A url_for .view urlname N/A node urlname N/A N/A render_template node/edit.html form form node node N/A N/A N/A bp route /<urlname>/edit methods N/A GET POST require_staff