Module ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults vararg kwarg body ImportFrom alias If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str Assign TupleStore NameStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad If NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad Str NameLoad body Print Str decorator_list decorator_list
N/A django.core.management.base LabelCommand CommandError corehq.apps.domain.models Domain django.conf settings Command N/A LabelCommand N/A N/A help Bootstrap a domain and user who owns it. N/A args <domain> <email> <password> N/A label handle N/A N/A self N/A args options N/A corehq.apps.users.models WebUser N/A N/A N/A len args 3 N/A N/A N/A CommandError Usage: manage.py bootstrap <domain> <email> <password> N/A N/A domain_name username passwd args N/A domain N/A N/A Domain get_or_create_with_name domain_name is_active True N/A couch_user N/A N/A WebUser get_by_username username N/A membership None N/A couch_user N/A N/A N/A N/A isinstance couch_user WebUser N/A N/A N/A CommandError Username already in use by a non-web user N/A membership N/A N/A couch_user get_domain_membership domain_name N/A N/A couch_user N/A N/A WebUser create domain_name username passwd N/A N/A membership N/A N/A N/A N/A couch_user add_domain_membership domain_name is_admin True N/A N/A couch_user is_superuser True N/A N/A couch_user is_staff True N/A N/A N/A couch_user save N/A N/A user %s created and added to domain %s N/A N/A couch_user username domain N/A N/A N/A getattr settings BASE_ADDRESS None N/A N/A Warning: You must set BASE_ADDRESS setting in your localsettings.py file in order for commcare-hq to be able to generate absolute urls. This is necessary for a number of features. N/A N/A