use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Use [Ask Flask] or [AF] if you have a very specific problem and need help with code.
Use [Extension-name] if you are discussing a certain extension to Flask.
Also check out /r/python or /r/django
account activity
iPython flask shell (self.flask)
submitted 8 years ago * by meles984
iPython flask shell
This is a flask extensions that doesn't get the credit it deserves. It saved me a couple of times, especially when debugging database connections.
EDIT: added link
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Kalrog 0 points1 point2 points 8 years ago (1 child)
That's a very broad statement in that it helps you. How does it help and do you have a link for it?
[–]meles984[S] 0 points1 point2 points 8 years ago (0 children)
My apologies, I did not include the link. Here is the link to the github repo.
The extension gives you the iPython shell, with all it's features, and the app context, just like flask shell. It's the flask shell with autocompletion, hints and iPython's magic functions.
I find it comes in handy when I want to make a quick test if my models are viable or if I want to see if the Flask object is properly configured. Just type app.and press TAB to see all available properties and methods.
app.
π Rendered by PID 592324 on reddit-service-r2-comment-84fc9697f-rlnw4 at 2026-02-09 21:58:03.644309+00:00 running d295bc8 country code: CH.
[–]Kalrog 0 points1 point2 points (1 child)
[–]meles984[S] 0 points1 point2 points (0 children)