Intro to Flask-Admin

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • Flask-Admin adds a dashboard that gives your users the ability to edit the data in the database.
    WORK WITH ME👇🏼
    ✅ Implement features and fix bugs in your app: Live, one-on-one screenshare
    prettyprinted....
    💻 Code written in video
    prettyprinted....

ความคิดเห็น • 42

  • @wagonr_vs_world
    @wagonr_vs_world ปีที่แล้ว +9

    These videos are so good that they make me ditch Django and come back to Flask again.

  • @OsamaZubair-b4u
    @OsamaZubair-b4u 4 วันที่ผ่านมา

    how to send the data to admin dashboard view

  • @DirtySouth33T
    @DirtySouth33T ปีที่แล้ว +1

    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.

  • @anandoshaffat8775
    @anandoshaffat8775 6 หลายเดือนก่อน

    no matter what i do it shows no module named flask admin. what should i do?please help

  • @demystifyingdev
    @demystifyingdev ปีที่แล้ว +1

    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!

  • @svenschroder9781
    @svenschroder9781 ปีที่แล้ว +1

    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 5 หลายเดือนก่อน

      i just use regular sqlite3

  • @thiagocosme242
    @thiagocosme242 5 หลายเดือนก่อน

    tks, safe my life

  • @若水三千
    @若水三千 ปีที่แล้ว

    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?

  • @realworldcodingapplications
    @realworldcodingapplications 4 หลายเดือนก่อน

    how to use postgresql,and such videos... man i've been learning a lot this channel!

  • @lazos7768
    @lazos7768 ปีที่แล้ว

    Hi Anthony! Does Flask Admin works with Mongo databases as well?

  • @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?

  • @joryaock
    @joryaock 5 หลายเดือนก่อน

    I remember showing the relations a few years ago without having to define another class.

  • @leonidasmichalopoulos1531
    @leonidasmichalopoulos1531 11 หลายเดือนก่อน +1

    Great video!

  • @Jucidful
    @Jucidful 7 หลายเดือนก่อน

    Really useful. Do you plan to make another video and go into more detail?

  • @WebDeveloper-v1v
    @WebDeveloper-v1v 11 หลายเดือนก่อน

    thank you for sharing your knowledge!!!

  • @mubinabdulkader1525
    @mubinabdulkader1525 ปีที่แล้ว

    Can u do a video saying how to secure this admin page via jwt

  • @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?

  • @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.

  • @JohnMatthew1
    @JohnMatthew1 ปีที่แล้ว

    very good demo, thank you

  • @krzysiekkrzysiek9059
    @krzysiekkrzysiek9059 ปีที่แล้ว

    At last Anthony!

  • @vwgleung
    @vwgleung ปีที่แล้ว

    Thanks so much

  • @dmbrv
    @dmbrv ปีที่แล้ว

    great video

  • @rangabharath4253
    @rangabharath4253 ปีที่แล้ว

    Awesome as always 🥳

  • @serychristianrenaud
    @serychristianrenaud ปีที่แล้ว

    Thanks

  • @anuragnagar11
    @anuragnagar11 ปีที่แล้ว +1

    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.