Тёмный

Intro to Flask-Admin 

Pretty Printed
Подписаться 96 тыс.
Просмотров 15 тыс.
50% 1

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.com/coaching
Get the code here: prettyprinted.com/l/jJc
Twitter: / pretty_printed
Github: github.com/prettyprinted

Опубликовано:

 

9 авг 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 41   
@wagonr_vs_world
@wagonr_vs_world 10 месяцев назад
These videos are so good that they make me ditch Django and come back to Flask again.
@prettyprinted
@prettyprinted 10 месяцев назад
Thanks for watching!
@alexwaiganjo1384
@alexwaiganjo1384 11 дней назад
Same here.. Flask all the way
@demystifyingdev
@demystifyingdev 9 месяцев назад
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 Месяц назад
how to use postgresql,and such videos... man i've been learning a lot this channel!
@user-vd1ch6ye2d
@user-vd1ch6ye2d 8 месяцев назад
thank you for sharing your knowledge!!!
@leonidasmichalopoulos1531
@leonidasmichalopoulos1531 8 месяцев назад
Great video!
@rangabharath4253
@rangabharath4253 11 месяцев назад
Awesome as always 🥳
@prettyprinted
@prettyprinted 10 месяцев назад
Thanks!
@JohnMatthew1
@JohnMatthew1 10 месяцев назад
very good demo, thank you
@prettyprinted
@prettyprinted 10 месяцев назад
Thanks for watching!
@Jucidful
@Jucidful 4 месяца назад
Really useful. Do you plan to make another video and go into more detail?
@doodahgurlie
@doodahgurlie 10 месяцев назад
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?
@user-mi8iy8wf6y
@user-mi8iy8wf6y 9 месяцев назад
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?
@joryaock
@joryaock 2 месяца назад
I remember showing the relations a few years ago without having to define another class.
@dmbrv
@dmbrv 10 месяцев назад
great video
@prettyprinted
@prettyprinted 10 месяцев назад
Thanks for watching!
@lazos7768
@lazos7768 9 месяцев назад
Hi Anthony! Does Flask Admin works with Mongo databases as well?
@petronillaserebwa9782
@petronillaserebwa9782 10 месяцев назад
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?
@vwgleung
@vwgleung 10 месяцев назад
Thanks so much
@prettyprinted
@prettyprinted 10 месяцев назад
You're welcome!
@thiagocosme242
@thiagocosme242 2 месяца назад
tks, safe my life
@anandoshaffat8775
@anandoshaffat8775 3 месяца назад
no matter what i do it shows no module named flask admin. what should i do?please help
@svenschroder9781
@svenschroder9781 10 месяцев назад
Do you have to use the SQLAlchemy in oder to make use of Flask-Admin?
@prettyprinted
@prettyprinted 10 месяцев назад
No there other options available like MongoEngine and Peewee.
@robzz2958
@robzz2958 2 месяца назад
i just use regular sqlite3
@mubinabdulkader1525
@mubinabdulkader1525 10 месяцев назад
Can u do a video saying how to secure this admin page via jwt
@serychristianrenaud
@serychristianrenaud 10 месяцев назад
Thanks
@prettyprinted
@prettyprinted 10 месяцев назад
Thanks for watching!
@danielschmider5069
@danielschmider5069 11 месяцев назад
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 10 месяцев назад
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.
@krzysiekkrzysiek9059
@krzysiekkrzysiek9059 10 месяцев назад
At last Anthony!
@prettyprinted
@prettyprinted 10 месяцев назад
Thanks for watching!
@anuragnagar11
@anuragnagar11 10 месяцев назад
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 10 месяцев назад
I'll see what I can do.
@DirtySouth33T
@DirtySouth33T 10 месяцев назад
I think i like django more for this reason it already really has all this built in.
@prettyprinted
@prettyprinted 10 месяцев назад
Yeah the Django one is definitely more complete.
@avbolshakov
@avbolshakov 10 месяцев назад
this extension does not support Bootstrap5, only bootstrap4
@prettyprinted
@prettyprinted 10 месяцев назад
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.
Далее
Guess The Drawing! ✍️✨🧐 #shortsart
00:14
Просмотров 1,9 млн
Looks realistic #tiktok
00:22
Просмотров 1,8 млн
How to Integrate Flask-Admin and Flask-Login
16:59
Просмотров 69 тыс.
Intro to Flask-Security
22:49
Просмотров 39 тыс.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Просмотров 176 тыс.
How to Use Flask-SQLAlchemy With Flask Blueprints
20:10
The Truth About HTMX | Prime Reacts
49:56
Просмотров 352 тыс.
Guess The Drawing! ✍️✨🧐 #shortsart
00:14
Просмотров 1,9 млн