Module Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad kwarg body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list ImportFrom alias ImportFrom alias
N/A N/A 
Shortcuts for working with domains and users.
 create_domain N/A N/A name active N/A True N/A N/A Create domain without secure submissions for tests N/A N/A N/A Domain get_or_create_with_name name name is_active active secure_submissions False N/A create_user N/A N/A username password is_staff is_superuser is_active password_hashed N/A False False True False kwargs N/A N/A user N/A User N/A N/A user username N/A N/A username lower N/A N/A key val N/A N/A kwargs items N/A N/A N/A key val N/A N/A N/A setattr user key val N/A N/A user is_staff is_staff N/A N/A user is_active is_active N/A N/A user is_superuser is_superuser N/A N/A password_hashed N/A N/A N/A N/A user set_password password N/A N/A N/A user password password N/A N/A N/A user save N/A user N/A corehq.apps.domain.models Domain django.contrib.auth.models User