Module Import alias Import alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Dict Str Str Str NameLoad NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad Call AttributeLoad Call NameLoad Call NameLoad Str attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad For NameStore ListLoad Str Str Str Str Str body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr keyword Str Assign SubscriptStore NameLoad Index Str BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str If Call NameLoad NameLoad Str NameLoad body Return NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad orelse Return CompareLtELt Num AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad attr Str Index Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore BinOpSub AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareEq AttributeLoad NameLoad attr Num CompareLtLt Num AttributeLoad NameLoad attr Num body Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Return 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 keyword NameLoad keyword NameLoad keyword NameLoad TryExcept body Return SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num handlers ExceptHandler type NameLoad body Return decorator_list
N/A N/A os N/A datetime zipfile ZipFile cStringIO StringIO N/A requests django.template Template Context django.http HttpResponse django.conf settings intranet.org.models Event _sablona_file N/A N/A fn N/A N/A N/A N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ sablona fn N/A prepare_video_zip N/A N/A slug title date person N/A N/A N/A context N/A Context N/A date title predavatelji title date person N/A folder_title slug N/A t N/A Template N/A N/A N/A open N/A _sablona_file default.xml read N/A default_xml N/A N/A N/A N/A t render context encode utf-8 N/A zipfile_file N/A StringIO N/A zipfile N/A ZipFile zipfile_file w N/A N/A N/A zipfile writestr N/A %s/default.xml folder_title default_xml N/A fn N/A big_pal_1_2-page3.png big_pal_1_2-page4.png maska_small.png naslovnica_small.png readme N/A N/A N/A N/A zipfile write N/A _sablona_file fn N/A %s/%s N/A folder_title fn N/A N/A N/A zipfile close N/A response N/A HttpResponse N/A N/A zipfile_file getvalue mimetype application/zip N/A N/A response N/A Content-Disposition N/A attachment; filename=%s.zip folder_title N/A response N/A is_streaming N/A N/A N/A N/A N/A Check if video live stream is running. N/A N/A getattr settings LIVE_STREAM_DISABLE False N/A N/A False N/A N/A N/A r N/A N/A requests head N/A settings LIVE_STREAM_URL timeout 1 N/A N/A N/A N/A N/A requests ConnectionError N/A requests Timeout N/A N/A False N/A N/A N/A 200 N/A r status_code 300 N/A get_streaming_event N/A N/A N/A N/A N/A N/A N/A now N/A N/A N/A datetime datetime now N/A streaming_event N/A N/A N/A N/A N/A N/A Event objects filter public True start_date__lte now order_by -start_date N/A 0 N/A N/A N/A next_event N/A N/A streaming_event get_next N/A N/A N/A N/A Event DoesNotExist N/A N/A streaming_event next_event N/A N/A td N/A N/A next_event start_date now N/A N/A N/A N/A td days 0 N/A 0 N/A td seconds 1800 N/A N/A streaming_event next_event N/A N/A N/A IndexError N/A N/A N/A streaming_event N/A get_next_streaming_event N/A N/A N/A N/A N/A now N/A N/A N/A datetime datetime now N/A q N/A N/A N/A Event objects filter public True require_video True start_date__gte now N/A N/A N/A N/A N/A N/A q order_by -start_date N/A 0 N/A N/A N/A IndexError N/A N/A N/A