Module Import alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Import alias Expr Call AttributeLoad NameLoad attr ImportFrom alias identifier ImportFrom alias Import alias alias FunctionDef arguments args defaults body Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad decorator_list FunctionDef arguments args defaults body Expr Call NameLoad Str Str Str Str keyword Call AttributeLoad NameLoad attr Num Num Num Expr Call NameLoad Str Str Str Str keyword Call AttributeLoad NameLoad attr Num Num Num Expr Call NameLoad Str Str Str Str Expr Call NameLoad Str Str Str Str decorator_list FunctionDef arguments args defaults body Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Str Str Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Str Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Assign NameStore ListLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad Num body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad Num body Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad Num body Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad Str body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Print NameLoad Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Index Num Print Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Index Num Print Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad Index Num Print Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Index Num Print Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Index Num Print Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Index Num Print Str NameLoad Return NameLoad decorator_list If CompareEq NameLoad Str body Print Str Expr Call NameLoad
N/A N/A os N/A N/A N/A N/A os environ setdefault DJANGO_SETTINGS_MODULE patchwords_project.settings N/A django N/A N/A N/A django setup django.contrib.auth.models User DjangoUser patchwords.models * N/A datetime random populate N/A N/A N/A N/A N/A N/A populate_user N/A N/A populate_category N/A N/A populate_story N/A N/A populate_paragraph N/A N/A populate_like N/A N/A populate_favourite N/A populate_user N/A N/A N/A N/A N/A N/A add_user johnnyboy95 jstarrrr@gmail.com password123 I'm a kool dood. date_of_birth N/A N/A datetime date 1995 9 24 N/A N/A add_user taylors_cat cat@tswizzle.com whiskas I'm a kool kitty. date_of_birth N/A N/A datetime date 2008 1 1 N/A N/A add_user guiseppe joe@iwishiwereitalian.com pizza9001 Seriously though, if you are out with your girlfriend's parents for dinner, don't order a hawaiian pizza - she will slag you forever. N/A N/A add_user test test@gmail.com test Test account :D. N/A populate_category N/A N/A N/A N/A N/A N/A add_category Random N/A N/A add_category Horror N/A N/A add_category Comedy N/A N/A add_category Twilight Fan-fic N/A N/A add_category T-swizzle Love-Letters N/A N/A add_category Sci-Fi N/A N/A add_category Lolz N/A N/A add_category Poems N/A N/A add_category Song Lyrics N/A trim_newline N/A N/A s N/A N/A N/A N/A N/A s N/A -1 N/A N/A s N/A s N/A -1 N/A s N/A populate_story N/A N/A N/A N/A N/A users N/A N/A N/A User objects all N/A categories N/A N/A N/A Category objects all N/A titles_file N/A open titles.txt r N/A titles N/A N/A trim_newline l N/A l titles_file N/A N/A N/A titles_file close N/A t titles N/A N/A N/A add_story t N/A N/A random choice users N/A N/A random choice categories N/A populate_paragraph N/A N/A N/A N/A N/A sentences_file N/A open sentences.txt r N/A sentences N/A N/A trim_newline l N/A l sentences_file N/A N/A N/A sentences_file close N/A users N/A N/A N/A User objects all N/A stories N/A N/A N/A Story objects all N/A s stories N/A N/A paragraphs N/A N/A para N/A add_paragraph N/A N/A random choice sentences s None N/A s author N/A N/A N/A paragraphs append para N/A i N/A range 2 N/A N/A para N/A add_paragraph N/A N/A random choice sentences s N/A N/A random choice paragraphs N/A N/A random choice users N/A N/A N/A paragraphs append para N/A populate_like N/A N/A N/A N/A N/A users N/A N/A N/A User objects all N/A paras N/A N/A N/A Paragraph objects all N/A i N/A range 8 N/A N/A N/A add_like N/A N/A random choice users N/A N/A random choice paras N/A populate_favourite N/A N/A N/A N/A N/A users N/A N/A N/A User objects all N/A stories N/A N/A N/A Story objects all N/A i N/A range 6 N/A N/A N/A add_favourite N/A N/A random choice users N/A N/A random choice stories N/A add_user N/A N/A username email password bio date_of_birth picture N/A None profile_images/blank-user.jpg N/A N/A django_user N/A N/A N/A N/A DjangoUser objects get_or_create username username email email N/A 0 N/A N/A N/A django_user set_password password N/A N/A N/A django_user save N/A django_user N/A user N/A N/A N/A N/A UserProfile objects get_or_create user django_user bio bio date_of_birth date_of_birth picture picture N/A 0 N/A CREATED USER:  user N/A user N/A add_category N/A N/A title N/A N/A N/A cat N/A N/A N/A N/A Category objects get_or_create title title N/A 0 N/A CREATED CATEGORY:  cat N/A cat N/A add_story N/A N/A title author category N/A N/A N/A story N/A N/A N/A N/A Story objects get_or_create title title author author category category N/A 0 N/A CREATED STORY:  story N/A story N/A add_paragraph N/A N/A content story parent author end N/A False N/A N/A para N/A N/A N/A N/A Paragraph objects get_or_create content content story story parent parent author author end end N/A 0 N/A CREATED PARA:  para N/A para N/A add_like N/A N/A user paragraph N/A N/A N/A like N/A N/A N/A N/A Like objects get_or_create user user paragraph paragraph N/A 0 N/A CREATED LIKE:  like N/A like N/A add_favourite N/A N/A user story N/A N/A N/A fav N/A N/A N/A N/A Favourite objects get_or_create user user story story N/A 0 N/A CREATED FAV:  fav N/A fav N/A N/A N/A __name__ __main__ N/A N/A Populating database. N/A N/A populate