Module Import alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias identifier Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Expr Str Assign NameStore Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If SubscriptLoad NameLoad Index Str body AugAssignAdd NameStore BinOpMod Str SubscriptLoad NameLoad Index Str If SubscriptLoad NameLoad Index Str body AugAssignAdd NameStore BinOpMod Str SubscriptLoad NameLoad Index Str If SubscriptLoad NameLoad Index Str body AugAssignAdd NameStore BinOpMod Str SubscriptLoad NameLoad Index Str If SubscriptLoad NameLoad Index Str body AugAssignAdd NameStore BinOpMod Str SubscriptLoad NameLoad Index Str Return NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore BinOpAdd AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Str keyword Str keyword Str keyword NameLoad keyword Str Call NameLoad Str keyword Str keyword Str keyword NameLoad keyword Str Call NameLoad Str keyword Str keyword Str keyword NameLoad keyword Str FunctionDef arguments args NameParam defaults kwarg body If SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Assign NameStore Str Assign NameStore Dict Str NameLoad Assign NameStore BinOpMod Str NameLoad Assign NameStore Str Assign NameStore Dict Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad NameLoad If UnaryOpNot SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Print BinOpMod NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad Print BinOpMod NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Print BinOpMod NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad Print Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpMod Str NameLoad Assign NameStore Str Assign NameStore Dict Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call NameLoad NameLoad If UnaryOpNot SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Print BinOpMod NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad Print BinOpMod NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad Print Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Print BinOpMod NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad If SubscriptLoad NameLoad Index Str body Print BinOpMod Str BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list
N/A N/A datetime os sys optparse make_option django.db connection models django.core.management call_command sql color django.core.management.base NoArgsCommand django.conf settings geonames models m N/A Alternate N/A m Alternate N/A Geoname N/A m Geoname N/A GEONAMES_DATA N/A N/A N/A os path abspath N/A N/A N/A os path join N/A N/A N/A os path dirname N/A m __file__ data N/A GEONAMES_SQL N/A N/A N/A os path abspath N/A N/A N/A os path join N/A N/A N/A os path dirname N/A m __file__ sql get_cmd_options N/A N/A N/A N/A N/A Obtains the command-line PostgreSQL connection options for shell commands. N/A options N/A db_settings N/A N/A settings DATABASES N/A default N/A N/A db_settings N/A NAME N/A N/A options N/A -d %s  N/A db_settings N/A NAME N/A N/A db_settings N/A USER N/A N/A options N/A -U %s  N/A db_settings N/A USER N/A N/A db_settings N/A HOST N/A N/A options N/A -h %s  N/A db_settings N/A HOST N/A N/A db_settings N/A PORT N/A N/A options N/A -p %s  N/A db_settings N/A PORT N/A options N/A Command N/A NoArgsCommand N/A N/A option_list N/A N/A NoArgsCommand option_list N/A N/A make_option -t --time action store_true dest time default False help Print the total time in running this command N/A make_option --no-alternates action store_true dest no_alternates default False help Disable loading of the Geonames alternate names data. N/A make_option --no-geonames action store_true dest no_geonames default False help Disable loading of the Geonames data. handle_noargs N/A N/A self N/A options N/A N/A N/A options N/A time N/A N/A start_time N/A N/A N/A datetime datetime now N/A N/A call_command syncdb N/A db_table N/A N/A Geoname _meta db_table N/A db_opts N/A get_cmd_options N/A fromfile_cmd psql %(db_opts)s -f %(sql_file)s N/A fromfile_args N/A db_opts db_opts N/A copy_sql N/A COPY %s (geonameid,name,alternates,fclass,fcode,country,cc2,admin1,admin2,admin3,admin4,population,elevation,topo,timezone,moddate,point) FROM STDIN; db_table N/A copy_cmd gunzip -c %(gz_file)s | psql %(db_opts)s -c "%(copy_sql)s" N/A copy_args N/A gz_file db_opts copy_sql N/A N/A N/A os path join GEONAMES_DATA allCountries.gz db_opts copy_sql N/A N/A N/A options N/A no_geonames N/A N/A N/A fromfile_args N/A sql_file N/A N/A N/A os path join GEONAMES_SQL drop_geoname_indexes.sql N/A N/A fromfile_cmd fromfile_args N/A N/A N/A os system N/A fromfile_cmd fromfile_args N/A N/A copy_cmd copy_args N/A N/A N/A os system N/A copy_cmd copy_args N/A N/A fromfile_args N/A sql_file N/A N/A N/A os path join GEONAMES_SQL create_geoname_indexes.sql N/A N/A fromfile_cmd fromfile_args N/A N/A N/A os system N/A fromfile_cmd fromfile_args N/A Finished PostgreSQL `COPY` from Geonames all countries data file. N/A db_table N/A N/A Alternate _meta db_table N/A copy_sql N/A COPY %s (alternateid,geoname_id,isolanguage,variant,preferred,short) FROM STDIN; db_table N/A copy_cmd zcat %(gz_file)s | psql %(db_opts)s -c "%(copy_sql)s" N/A copy_args N/A gz_file db_opts copy_sql N/A N/A N/A os path join GEONAMES_DATA alternateNames.gz N/A get_cmd_options copy_sql N/A N/A N/A options N/A no_alternates N/A N/A N/A fromfile_args N/A sql_file N/A N/A N/A os path join GEONAMES_SQL drop_alternate_indexes.sql N/A N/A fromfile_cmd fromfile_args N/A N/A N/A os system N/A fromfile_cmd fromfile_args N/A N/A copy_cmd copy_args N/A N/A N/A os system N/A copy_cmd copy_args N/A Finished PostgreSQL `COPY` from Geonames alternate names data file. N/A N/A fromfile_args N/A sql_file N/A N/A N/A os path join GEONAMES_SQL create_alternate_indexes.sql N/A N/A fromfile_cmd fromfile_args N/A N/A N/A os system N/A fromfile_cmd fromfile_args N/A N/A options N/A time N/A N/A N/A 
Completed in %s N/A N/A N/A N/A datetime datetime now start_time N/A N/A