Module ImportFrom alias alias alias alias alias alias alias alias alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Str NameLoad FunctionDef arguments args defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad Str Return Call NameLoad Str keyword NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword TupleLoad Str Str NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr ListLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad Str attr ListLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str keyword TupleLoad Str Str Call NameLoad keyword Str keyword ListLoad Str Str keyword Str keyword Str
N/A flask Blueprint Response render_template flash redirect session url_for request g flask.ext.login current_user login_required app app db login_manager app.tracking.models Site Visit app.tracking.forms RegisterSiteForm datetime datetime app.tracking.geodata get_geodata app.tracking.decorators crossdomain N/A mod N/A Blueprint tracking __name__ sites_view N/A N/A N/A N/A N/A form N/A RegisterSiteForm N/A request form N/A sites N/A N/A N/A current_user sites all N/A N/A N/A form validate_on_submit N/A N/A site N/A Site N/A N/A N/A form populate_obj site N/A N/A site user_id N/A current_user id N/A N/A N/A N/A db session add site N/A N/A N/A N/A db session commit N/A N/A redirect /sites/ N/A N/A render_template tracking/index.html form form sites sites N/A N/A N/A mod route /sites/ methods N/A GET POST login_required register_visit N/A N/A site_id N/A N/A N/A site N/A N/A Site get_by_id site_id N/A site N/A N/A browser N/A N/A N/A request headers get User-Agent N/A date N/A N/A datetime now N/A event N/A N/A N/A request args get event N/A url N/A request url N/A ip_address N/A request remote_addr N/A geo N/A get_geodata ip_address N/A location_full N/A N/A ,  join N/A N/A geo N/A city N/A geo N/A zipcode N/A geo N/A latitude N/A geo N/A longitude N/A location N/A N/A ,  join N/A N/A geo N/A city N/A geo N/A zipcode N/A visit N/A Visit browser date event url ip_address location_full location N/A N/A visit site_id site_id N/A N/A N/A N/A db session add visit N/A N/A N/A N/A db session commit N/A N/A Response visit recorded content_type text/plain N/A N/A N/A mod route /visit/<int:site_id>/visited methods N/A GET POST N/A crossdomain origin * methods N/A POST GET, OPTIONS headers Content-Type, Origin, Referer, User-Agent max_age 3600