No video

Intro to Flask-Admin

  Рет қаралды 16,261

Pretty Printed

Pretty Printed

Күн бұрын

In this video I demonstrate how to get Flask-Admin up and running and a few things you can do with it. Flask-Admin is great if you want to quickly build a dashboard that will give your users the ability to edit the data in the database without actually going into the database.
Need one-on-one help with your project? I can help through my coaching program. Learn more here: prettyprinted....
Get the code here: prettyprinted....
Twitter: / pretty_printed
Github: github.com/pre...

Пікірлер: 41
@wagonr_vs_world
@wagonr_vs_world Жыл бұрын
These videos are so good that they make me ditch Django and come back to Flask again.
@prettyprinted
@prettyprinted Жыл бұрын
Thanks for watching!
@alexwaiganjo1384
@alexwaiganjo1384 2 ай бұрын
Same here.. Flask all the way
@demystifyingdev
@demystifyingdev 11 ай бұрын
Excellent tutorials, very clear and you show how to start from scratch, so for Python newbies (full-stack js refugees) it's great watching them. I would love to see, for example, Htmx + Flask-Admin (which I don't see anywhere) and as an added bonus with Tailwind (never mind :) ). Htmx + Flask-Admin would be incredible. Thanks for your efforts!
@realworldcodingapplications
@realworldcodingapplications 3 ай бұрын
how to use postgresql,and such videos... man i've been learning a lot this channel!
@user-vd1ch6ye2d
@user-vd1ch6ye2d 10 ай бұрын
thank you for sharing your knowledge!!!
@leonidasmichalopoulos1531
@leonidasmichalopoulos1531 10 ай бұрын
Great video!
@Jucidful
@Jucidful 5 ай бұрын
Really useful. Do you plan to make another video and go into more detail?
@joryaock
@joryaock 4 ай бұрын
I remember showing the relations a few years ago without having to define another class.
@JohnMatthew1
@JohnMatthew1 Жыл бұрын
very good demo, thank you
@prettyprinted
@prettyprinted Жыл бұрын
Thanks for watching!
@rangabharath4253
@rangabharath4253 Жыл бұрын
Awesome as always 🥳
@prettyprinted
@prettyprinted Жыл бұрын
Thanks!
@anandoshaffat8775
@anandoshaffat8775 5 ай бұрын
no matter what i do it shows no module named flask admin. what should i do?please help
@user-mi8iy8wf6y
@user-mi8iy8wf6y 10 ай бұрын
This video helped me a lot, thank you very much! But i find that if I remove "user" in form_columns, the application will throw a exception called 'Cannot find reverse relation for model ', why is this?
@thiagocosme242
@thiagocosme242 3 ай бұрын
tks, safe my life
@doodahgurlie
@doodahgurlie Жыл бұрын
Hey, Anthony. You're using Windows with WSL as your environment, correct? How'd you get the blue WSL box to display on the bottom left corner like that? Any other special extensions you recommend for VS Code?
@svenschroder9781
@svenschroder9781 Жыл бұрын
Do you have to use the SQLAlchemy in oder to make use of Flask-Admin?
@prettyprinted
@prettyprinted Жыл бұрын
No there other options available like MongoEngine and Peewee.
@robzz2958
@robzz2958 4 ай бұрын
i just use regular sqlite3
@vwgleung
@vwgleung Жыл бұрын
Thanks so much
@prettyprinted
@prettyprinted Жыл бұрын
You're welcome!
@dmbrv
@dmbrv Жыл бұрын
great video
@prettyprinted
@prettyprinted Жыл бұрын
Thanks for watching!
@lazos7768
@lazos7768 11 ай бұрын
Hi Anthony! Does Flask Admin works with Mongo databases as well?
@petronillaserebwa9782
@petronillaserebwa9782 Жыл бұрын
Thank you for the great video. However, I am finding trouble when the User is in the models.py file and the rest of the code are in a admin.py at the top of the directory with the error of circular imports. My admin.py has the following: from flask_admin import Admin from flask_admin.contrib.sqla import ModelView from app import app, db from app import models #Create the Flask-Admin instance admin = Admin(app, name='Admin Panel', template_mode='bootstrap3') #Create a ModelView for the Users model and add it to Flask-Admin admin.add_view(ModelView(models.User, db.session)) What, am I doing wrong?
@serychristianrenaud
@serychristianrenaud Жыл бұрын
Thanks
@prettyprinted
@prettyprinted Жыл бұрын
Thanks for watching!
@mubinabdulkader1525
@mubinabdulkader1525 11 ай бұрын
Can u do a video saying how to secure this admin page via jwt
@anuragnagar11
@anuragnagar11 Жыл бұрын
Hey Anthony please continue with this flask-admin series I'm working on this flask extension in my project and I'm not able to customize please make video for customize flask admin as well.
@prettyprinted
@prettyprinted Жыл бұрын
I'll see what I can do.
@krzysiekkrzysiek9059
@krzysiekkrzysiek9059 Жыл бұрын
At last Anthony!
@prettyprinted
@prettyprinted Жыл бұрын
Thanks for watching!
@DirtySouth33T
@DirtySouth33T Жыл бұрын
I think i like django more for this reason it already really has all this built in.
@prettyprinted
@prettyprinted Жыл бұрын
Yeah the Django one is definitely more complete.
@danielschmider5069
@danielschmider5069 Жыл бұрын
stuff like form_columns and column_list are very confusing to me. does the Admin package use this variable if it is exactly named like this? I am not a big fan... and you should really explain why it is named like this, and why it does what it does
@prettyprinted
@prettyprinted Жыл бұрын
The idea behind Flask-Admin is you use the class to set everything up, so yes the names have to be exact. There's not much to explain beyond that though because that's how they chose to set up their extension. They could have easily used other approaches for customizing the admin pages.
@avbolshakov
@avbolshakov Жыл бұрын
this extension does not support Bootstrap5, only bootstrap4
@prettyprinted
@prettyprinted Жыл бұрын
You have the ability to switch out all the templates, but yeah that might be a bit annoying if you wanted an out the box solution.
How to Create an Instant Search Bar With Flask and HTMX
13:13
Pretty Printed
Рет қаралды 18 М.
艾莎撒娇得到王子的原谅#艾莎
00:24
在逃的公主
Рет қаралды 53 МЛН
wow so cute 🥰
00:20
dednahype
Рет қаралды 29 МЛН
This Dumbbell Is Impossible To Lift!
01:00
Stokes Twins
Рет қаралды 32 МЛН
Python RAG Tutorial (with Local LLMs): AI For Your PDFs
21:33
pixegami
Рет қаралды 206 М.
Intro to Flask-Security
22:49
Pretty Printed
Рет қаралды 39 М.
Build APIs with Flask (the right way)
49:09
microapis
Рет қаралды 10 М.
I forced EVERYONE to use Linux
22:59
NetworkChuck
Рет қаралды 457 М.
It's time for change, it's time for Linux.
10:53
DankPods
Рет қаралды 283 М.
Flask vs Django in 2024 - Make a RIGHT Choice (Difference Explained)
9:32
Daniel Dan | Tech & Data
Рет қаралды 45 М.
Web Forms With WTF! - Flask Fridays #5
22:56
Codemy.com
Рет қаралды 68 М.
Python Flask development with SQLite
46:23
Clinton Daniel
Рет қаралды 20 М.
艾莎撒娇得到王子的原谅#艾莎
00:24
在逃的公主
Рет қаралды 53 МЛН