Intro to Flask-Admin

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ •

  • @wagonr_vs_world
    @wagonr_vs_world Рік тому +10

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

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

  • @Jucidful
    @Jucidful 10 місяців тому

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

  • @realworldcodingapplications
    @realworldcodingapplications 8 місяців тому

    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?

  • @leonidasmichalopoulos1531
    @leonidasmichalopoulos1531 Рік тому +1

    Great video!

  • @rangabharath4253
    @rangabharath4253 Рік тому

    Awesome as always 🥳

  • @WebDeveloper-v1v
    @WebDeveloper-v1v Рік тому

    thank you for sharing your knowledge!!!

  • @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 Рік тому +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 8 місяців тому

      i just use regular sqlite3

  • @若水三千
    @若水三千 Рік тому

    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?

  • @JohnMatthew1
    @JohnMatthew1 Рік тому

    very good demo, thank you

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

  • @hibabenzahra496
    @hibabenzahra496 Місяць тому

    thank youuu so much

  • @joryaock
    @joryaock 8 місяців тому

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

  • @mubinabdulkader1525
    @mubinabdulkader1525 Рік тому

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

  • @anandoshaffat8775
    @anandoshaffat8775 9 місяців тому

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

  • @OsamaZubair-b4u
    @OsamaZubair-b4u 3 місяці тому

    how to send the data to admin dashboard view

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

  • @dmbrv
    @dmbrv Рік тому

    great video

  • @vwgleung
    @vwgleung Рік тому

    Thanks so much

  • @hasibulalamprionto2010
    @hasibulalamprionto2010 3 місяці тому

    How to create superuser!?

  • @serychristianrenaud
    @serychristianrenaud Рік тому

    Thanks

  • @krzysiekkrzysiek9059
    @krzysiekkrzysiek9059 Рік тому

    At last Anthony!

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

  • @thiagocosme242
    @thiagocosme242 8 місяців тому

    tks, safe my life

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

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