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!
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?
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?
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
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.
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?
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.
These videos are so good that they make me ditch Django and come back to Flask again.
Thanks for watching!
Same here.. Flask all the way
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!
how to use postgresql,and such videos... man i've been learning a lot this channel!
Really useful. Do you plan to make another video and go into more detail?
Great video!
thank you for sharing your knowledge!!!
Awesome as always 🥳
Thanks!
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?
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?
Do you have to use the SQLAlchemy in oder to make use of Flask-Admin?
No there other options available like MongoEngine and Peewee.
i just use regular sqlite3
no matter what i do it shows no module named flask admin. what should i do?please help
Hi Anthony! Does Flask Admin works with Mongo databases as well?
very good demo, thank you
Thanks for watching!
how to send the data to admin dashboard view
thank youuu so much
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
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.
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?
Can u do a video saying how to secure this admin page via jwt
How to create superuser!?
great video
Thanks for watching!
Thanks so much
You're welcome!
I remember showing the relations a few years ago without having to define another class.
At last Anthony!
Thanks for watching!
tks, safe my life
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.
I'll see what I can do.
Thanks
Thanks for watching!
I think i like django more for this reason it already really has all this built in.
Yeah the Django one is definitely more complete.
this extension does not support Bootstrap5, only bootstrap4
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.