Module ImportFrom alias alias alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Str If UnaryOpNot NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareLt NameLoad Call AttributeLoad NameLoad attr body Return NameLoad orelse Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore NameLoad If SubscriptLoad NameLoad Index Str body Expr Call NameLoad Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Call AttributeLoad NameLoad attr If NameLoad body If NameLoad body Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str For NameStore NameLoad body Expr Call NameLoad Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call NameLoad Str orelse For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Call NameLoad NameLoad If NameLoad body Expr Call NameLoad Str If NameLoad body Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad Str attr Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str orelse Expr Call NameLoad Str orelse For NameStore NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr If NameLoad body Expr Call NameLoad Str If NameLoad body Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str orelse Expr Call NameLoad Str orelse For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A __future__ absolute_import print_function unicode_literals N/A json django.core.management.base BaseCommand django.utils dateparse timezone wagtail.wagtailcore.models Page PageRevision revision_date_expired N/A N/A r N/A N/A N/A expiry_str N/A N/A N/A N/A json loads N/A r content_json get expire_at N/A N/A expiry_str N/A N/A False N/A expire_at N/A N/A dateparse parse_datetime expiry_str N/A N/A expire_at N/A N/A timezone now N/A N/A True N/A N/A False N/A Command N/A BaseCommand N/A add_arguments N/A N/A self parser N/A N/A N/A N/A N/A parser add_argument --dryrun action store_true dest dryrun default False help Dry run -- dont't change anything. N/A handle N/A N/A self N/A args options N/A N/A dryrun False N/A N/A options N/A dryrun N/A N/A N/A print Will do a dry run. N/A dryrun True N/A expired_pages N/A N/A N/A Page objects filter live True expire_at__lt N/A N/A timezone now N/A dryrun N/A N/A expired_pages N/A N/A N/A print Expired pages to be deactivated: N/A N/A print Expiry datetime		Slug		Name N/A N/A print ---------------		----		---- N/A ep expired_pages N/A N/A N/A print N/A N/A {0}	{1}	{2} format N/A N/A N/A ep expire_at strftime %Y-%m-%d %H:%M N/A ep slug N/A ep title N/A N/A N/A print No expired pages to be deactivated found. N/A N/A page N/A list expired_pages N/A N/A N/A N/A page unpublish set_expired True N/A expired_revs N/A r N/A r N/A N/A N/A PageRevision objects filter submitted_for_moderation True N/A revision_date_expired r N/A dryrun N/A N/A N/A print --------------------------------- N/A expired_revs N/A N/A N/A print Expired revisions to be dropped from moderation queue: N/A N/A print Expiry datetime		Slug		Name N/A N/A print ---------------		----		---- N/A er expired_revs N/A N/A rev_data N/A N/A json loads N/A er content_json N/A N/A print N/A N/A {0}	{1}	{2} format N/A N/A N/A N/A dateparse parse_datetime N/A N/A rev_data get expire_at strftime %Y-%m-%d %H:%M N/A N/A rev_data get slug N/A N/A rev_data get title N/A N/A N/A print No expired revision to be dropped from moderation. N/A N/A er expired_revs N/A N/A N/A er submitted_for_moderation False N/A N/A N/A er save N/A revs_for_publishing N/A N/A N/A PageRevision objects filter approved_go_live_at__lt N/A N/A timezone now N/A dryrun N/A N/A N/A print --------------------------------- N/A revs_for_publishing N/A N/A N/A print Revisions to be published: N/A N/A print Go live datetime		Slug		Name N/A N/A print ---------------			----		---- N/A rp revs_for_publishing N/A N/A rev_data N/A N/A json loads N/A rp content_json N/A N/A print N/A N/A {0}		{1}	{2} format N/A N/A N/A rp approved_go_live_at strftime %Y-%m-%d %H:%M N/A N/A rev_data get slug N/A N/A rev_data get title N/A N/A N/A print No pages to go live. N/A N/A rp revs_for_publishing N/A N/A N/A N/A rp publish N/A N/A