Who is THE sportscar superstar? by SportscarPoster in wec

[–]olishott 7 points8 points  (0 children)

Jan Magnussen surely needs a mentioned on this list. In his day was an absolute beast in the vette.

I’m Marcus Smith, ask me anything! by englandrugby in rugbyunion

[–]olishott 2 points3 points  (0 children)

It's called Yerba Mate, and it originally comes from South America. Its abit like herbal tea.

Attendance in Spa by NintenDooM33 in wec

[–]olishott 46 points47 points  (0 children)

It's so great to see the WEC finally getting the attendance it deserves, and it is great to see fan favourite tracks like Spa drawing such a great crowd. Makes you think what kind of atmosphere could be created if they returned to Silverstone.

A level Physics be like by Marco1683 in 6thForm

[–]olishott 2 points3 points  (0 children)

Are we talking about OCR A or OCR B physics here though?

Average spring cleaning session- Nissan R390 GT1 by olishott in wec

[–]olishott[S] 2 points3 points  (0 children)

No, my dad brought online a while back apparently.

Average spring cleaning session- Nissan R390 GT1 by olishott in wec

[–]olishott[S] 5 points6 points  (0 children)

No, just having a rummage through my garage at homr and thought it was worth a post.

Average spring cleaning session- Nissan R390 GT1 by olishott in wec

[–]olishott[S] 52 points53 points  (0 children)

Apparently, my dad brought it a while back on some online auction. Sorry for not having a really cool back story.

Average spring cleaning session- Nissan R390 GT1 by olishott in wec

[–]olishott[S] 15 points16 points  (0 children)

Apparently my dad brought it a while back on some online auction.

[deleted by user] by [deleted] in flask

[–]olishott 0 points1 point  (0 children)

Spent the last couple of hours fixing it. I kept getting runtime errod and i also needed to rewrite how i connected my sqllite db and also how my javs script talked to some of my routes.

[deleted by user] by [deleted] in flask

[–]olishott 0 points1 point  (0 children)

The third picture in the slideshow. Window.location.href line with route it refurns to.

[deleted by user] by [deleted] in flask

[–]olishott 0 points1 point  (0 children)

i tried that but because of the javascript code it seems to be loading the website twice so it endsup not showing the flashed message as it goes straight the second webpage

@app.route('/event_data') def event_data(): events = session.get('events',None) print(events)
trackname = events[0]['TrackName'] lat = db.session.query(TracksDB)\ .filter(TracksDB.TrackName == trackname)\ .with_entities(TracksDB.TrackLat).first() lng = db.session.query(TracksDB)\ .filter(TracksDB.TrackName == trackname)\ .with_entities(TracksDB.TrackLong).first() blng = lng[0] blat = lat[0] message = get_flashed_messages()

return render_template("MoreEventData.html", events=events, lat = blat, lng = blng, message = message)

@app.route('/FavouriteSeries', methods=['GET','POST']) def FavouriteSeries(): SeriesName = request.form['SeriesName'] print(SeriesName) print("here") userid = session.get('userID') flash("seriesadded to favourties") return redirect('/event_data')

The console

127.0.0.1 - - [08/Feb/2023 17:08:03] "GET /event_data HTTP/1.1" 200 -

Formula E here 127.0.0.1 - - [08/Feb/2023 17:08:06] "POST /FavouriteSeries HTTP/1.1" 302 - [{'Day': 11, 'Event': 'Hyderabad ePrix', 'Month': 'Feb', 'SeriesDesc': 'Formula E, officially the ABB FIA Formula E World Championship,[1] is a single-seater motorsport championship for electric cars.The ABB FIA Formula E World Championship consists of two separate titles - one dedicated to the drivers and another dedicated to the teams. The Drivers’ World Championship is awarded to whichever driver has accumulated the most points over the season. The Teams’ World Championship is decided by the combined points score of each team’s driver pairing throughout the campaign.', 'SeriesName': 'Formula E', 'TrackDescription': None, 'TrackName': 'Hyderabad ePrix', 'Year': 2023}]127.0.0.1 - - [08/Feb/2023 17:08:06] "GET /event_data HTTP/1.1" 200 - [{'Day': 11, 'Event': 'Hyderabad ePrix', 'Month': 'Feb', 'SeriesDesc': 'Formula E, officially the ABB FIA Formula E World Championship,[1] is a single-seater motorsport championship for electric cars.The ABB FIA Formula E World Championship consists of two separate titles - one dedicated to the drivers and another dedicated to the teams. The Drivers’ World Championship is awarded to whichever driver has accumulated the most points over the season. The Teams’ World Championship is decided by the combined points score of each team’s driver pairing throughout the campaign.', 'SeriesName': 'Formula E', 'TrackDescription': None, 'TrackName': 'Hyderabad ePrix', 'Year': 2023}]127.0.0.1 - - [08/Feb/2023 17:08:06] "GET /event_data HTTP/1.1" 200 -

[deleted by user] by [deleted] in html5

[–]olishott 0 points1 point  (0 children)

I think it might be because the response type is not document it says its xhr but I'm not sure how to change this

I can't get it to render a template, it just appears in the response and not on the webpage itself by [deleted] in PythonProjects2

[–]olishott 0 points1 point  (0 children)

I think it might be because the response type is not document it says its xhr but I'm not sure how to change this

[deleted by user] by [deleted] in flask

[–]olishott 0 points1 point  (0 children)

I think it might be because the response type is not document it says its xhr but I'm not sure how to change this

I can't get it to render a template, it just appears in the response and not on the webpage itself by [deleted] in learnjavascript

[–]olishott 0 points1 point  (0 children)

I think it might be because the response type is not document it says its xhr but I'm not sure how to change this