Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias alias Assign NameStore Str ClassDef bases NameLoad body Assign NameStore BinOpAdd AttributeLoad NameLoad attr TupleLoad Call NameLoad Str keyword Str keyword NameLoad keyword Str Call NameLoad Str Str keyword Str keyword Str keyword NameLoad keyword Str Call NameLoad Str Str keyword Str keyword Str keyword NameLoad keyword Str Call NameLoad Str keyword Str keyword NameLoad keyword Str Call NameLoad Str keyword Str keyword NameLoad keyword Str Call NameLoad Str keyword Str keyword NameLoad keyword Str Call NameLoad Str keyword Str keyword NameLoad keyword Str Assign NameStore BinOpMod Str TupleLoad NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults kwarg body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str ImportFrom alias alias Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad orelse Raise Call NameLoad BinOpMod Str NameLoad If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad orelse Raise Call NameLoad BinOpMod Str NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad For NameStore NameLoad body Assign AttributeStore NameLoad attr BinOpMod NameLoad Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Print BinOpMod Str Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
set_fake_emails.py

    Give all users a new email account. Useful for testing in a
    development environment. As such, this command is only available when
    setting.DEBUG is True.

 optparse make_option django.conf settings django.core.management.base NoArgsCommand CommandError N/A DEFAULT_FAKE_EMAIL %(username)s@example.com Command N/A NoArgsCommand N/A N/A option_list N/A N/A NoArgsCommand option_list N/A N/A make_option --email dest default_email default DEFAULT_FAKE_EMAIL help Use this as the new email format. N/A make_option -a --no-admin action store_true dest no_admin default False help Do not change administrator accounts N/A make_option -s --no-staff action store_true dest no_staff default False help Do not change staff accounts N/A make_option --include dest include_regexp default None help Include usernames matching this regexp. N/A make_option --exclude dest exclude_regexp default None help Exclude usernames matching this regexp. N/A make_option --include-groups dest include_groups default None help Include users matching this group. (use comma seperation for multiple groups) N/A make_option --exclude-groups dest exclude_groups default None help Exclude users matching this group. (use comma seperation for multiple groups) N/A help N/A DEBUG only: give all users a new email based on their account data ("%s" by default). Possible parameters are: username, first_name, last_name N/A DEFAULT_FAKE_EMAIL N/A requires_model_validation False handle_noargs N/A N/A self N/A options N/A N/A N/A N/A settings DEBUG N/A N/A N/A CommandError Only available in debug mode django.contrib.auth.models User Group N/A email N/A N/A options get default_email DEFAULT_FAKE_EMAIL N/A include_regexp N/A N/A options get include_regexp None N/A exclude_regexp N/A N/A options get exclude_regexp None N/A include_groups N/A N/A options get include_groups None N/A exclude_groups N/A N/A options get exclude_groups None N/A no_admin N/A N/A options get no_admin False N/A no_staff N/A N/A options get no_staff False N/A users N/A N/A N/A User objects all N/A no_admin N/A N/A users N/A N/A users exclude is_superuser True N/A no_staff N/A N/A users N/A N/A users exclude is_staff True N/A exclude_groups N/A N/A groups N/A N/A N/A Group objects filter name__in N/A N/A exclude_groups split , N/A groups N/A N/A users N/A N/A users exclude groups__in groups N/A N/A N/A CommandError N/A No group matches filter: %s exclude_groups N/A include_groups N/A N/A groups N/A N/A N/A Group objects filter name__in N/A N/A include_groups split , N/A groups N/A N/A users N/A N/A users filter groups__in groups N/A N/A N/A CommandError N/A No groups matches filter: %s include_groups N/A exclude_regexp N/A N/A users N/A N/A users exclude username__regex exclude_regexp N/A include_regexp N/A N/A users N/A N/A users filter username__regex include_regexp N/A user users N/A N/A N/A user email N/A email N/A username first_name last_name N/A user username N/A user first_name N/A user last_name N/A N/A N/A user save N/A N/A Changed %d emails N/A N/A users count N/A N/A