Module Expr Str Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore BinOpAdd AttributeLoad NameLoad attr TupleLoad 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 keyword Str Assign NameStore Str FunctionDef arguments args NameParam defaults kwarg body ImportFrom alias TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call NameLoad Str orelse Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Raise Call NameLoad Str If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Dict If BoolOpAnd NameLoad CompareNotEq NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str NameLoad If BoolOpAnd NameLoad CompareNotEq NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Print Str orelse Print Str Print Str Print BinOpMod Str AttributeLoad NameLoad attr Print BinOpMod Str AttributeLoad NameLoad attr Print BinOpMod Str AttributeLoad NameLoad attr decorator_list NameLoad decorator_list
N/A N/A 
set_default_site.py
 N/A socket optparse make_option django.core.management.base NoArgsCommand CommandError django_extensions.management.utils signalcommand Command N/A NoArgsCommand N/A N/A option_list N/A N/A NoArgsCommand option_list N/A N/A make_option --name dest site_name default None help Use this as site name. N/A make_option --domain dest site_domain default None help Use this as site domain. N/A make_option --system-fqdn dest set_as_system_fqdn default False action store_true help Use the systems FQDN (Fully Qualified Domain Name) as name and domain. Can be used in combination with --name N/A help Set parameters of the default django.contrib.sites Site handle_noargs N/A N/A self N/A options N/A django.contrib.sites.models Site N/A N/A N/A site N/A N/A N/A Site objects get pk 1 N/A N/A N/A N/A Site DoesNotExist N/A N/A N/A CommandError Default site with pk=1 does not exist N/A N/A name N/A N/A options get site_name None N/A domain N/A N/A options get site_domain None N/A N/A N/A options get set_as_system_fqdn False N/A N/A domain N/A N/A socket getfqdn N/A N/A domain N/A N/A N/A CommandError Cannot find systems FQDN N/A N/A name None N/A N/A name domain N/A update_kwargs N/A N/A N/A name N/A name N/A site name N/A N/A N/A update_kwargs N/A name name N/A N/A domain N/A domain N/A site domain N/A N/A N/A update_kwargs N/A domain domain N/A update_kwargs N/A N/A N/A N/A N/A N/A N/A Site objects filter pk 1 update update_kwargs N/A site N/A N/A N/A Site objects get pk 1 N/A Updated default site. You might need to restart django as sites are cached aggressively. N/A N/A Nothing to update (need --name, --domain and/or --system-fqdn) N/A Default Site: N/A N/A 	id = %s N/A site id N/A N/A 	name = %s N/A site name N/A N/A 	domain = %s N/A site domain N/A signalcommand N/A