Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias Import alias identifier ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If UnaryOpNot Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr body Assign NameStore Call NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword Call NameLoad For NameStore ListLoad Str Str body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr ListComp SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad For NameStore NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad ListLoad Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body Continue Expr Call NameLoad NameLoad NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list
N/A N/A A management command to load Modoboa initial data:

* Create a default super admin if none exists
* Create groups and permissions

 django.contrib.auth.models Group django.core.management.base BaseCommand modoboa.core PERMISSIONS modoboa.core.extensions exts_pool modoboa.core.models User ObjectAccess modoboa.lib.cryptutils random_key modoboa.lib events modoboa.lib models lib_models modoboa.lib.permissions add_permissions_to_group N/A modoboa.relaydomains.models relay_models Command N/A BaseCommand N/A N/A Command defintion. N/A help Load Modoboa initial data handle N/A N/A self N/A args options N/A N/A Command entry point. N/A N/A N/A N/A N/A N/A N/A User objects filter is_superuser True count N/A N/A admin N/A User username admin is_superuser True N/A N/A N/A admin set_password password N/A N/A N/A admin save N/A N/A N/A N/A ObjectAccess objects create user admin content_object admin is_owner True N/A param_name core.SECRET_KEY N/A qset N/A N/A N/A N/A lib_models Parameter objects filter name param_name N/A N/A N/A N/A qset exists N/A N/A N/A N/A N/A N/A lib_models Parameter objects create name param_name value N/A random_key N/A service_name N/A relay smtp N/A N/A N/A N/A N/A N/A relay_models Service objects get_or_create name service_name N/A N/A N/A exts_pool load_all N/A superadmin N/A N/A N/A N/A N/A User objects filter is_superuser True first N/A groups N/A N/A N/A PERMISSIONS keys N/A N/A role N/A 0 N/A role N/A N/A events raiseQueryEvent GetExtraRoles superadmin None N/A groupname groups N/A N/A N/A group created N/A N/A N/A Group objects get_or_create name groupname N/A permissions N/A N/A N/A PERMISSIONS get groupname N/A N/A N/A events raiseQueryEvent GetExtraRolePermissions groupname N/A N/A permissions N/A N/A N/A N/A add_permissions_to_group group permissions N/A extname N/A N/A N/A exts_pool extensions keys N/A N/A extension N/A N/A exts_pool get_extension extname N/A N/A N/A extension load_initial_data N/A N/A N/A events raiseEvent InitialDataLoaded extname N/A N/A