TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

What is Flask-Admin?

161 pointsby joecarpenteralmost 10 years ago

15 comments

andybakalmost 10 years ago
The great thing about the Django Admin is that - because it was actually part of the Django itself - there is a whole ecosystem of extensions, add-ons, skins etc for it.<p>Any attempts to replace it for Django would have an uphill struggle for that reason alone.<p>This is one side-effect of an opinionated framework - the provision of a default choice facilitates cooperation and prevents fragmentation.<p>(We recently picked up a Pyramid project and I was rather surprised how big the impact was of the extra choice. Simply in terms of searching for answers to questions - we often had to find an answer from someone who was using the same combination of parts that we were using. And figuring out how to do x often fell into the gaps in the docs between two components and was therefore harder to figure out)
评论 #9759714 未加载
评论 #9762530 未加载
评论 #9760332 未加载
mixmastamykalmost 10 years ago
&gt; Yes, default Bootstrap skin looks boring and unprofessional,<p>Sigh... bootstrap didn&#x27;t get where it is by looking unprofessional.<p>I also don&#x27;t understand wanting every admin interface one comes across to be a special snowflake, the opposite of what should be the case. We&#x27;ve known for at least 30 years (Apple HIG) that a standardized look and feel is a benefit to users, not a detriment. Not to mention dev maintainability.<p>I suppose billable hours decrease when reinventing the wheel is no longer necessary.
评论 #9759782 未加载
petejanssonalmost 10 years ago
From the documentation at <a href="http:&#x2F;&#x2F;flask-admin.readthedocs.org&#x2F;en&#x2F;latest&#x2F;" rel="nofollow">http:&#x2F;&#x2F;flask-admin.readthedocs.org&#x2F;en&#x2F;latest&#x2F;</a><p>Flask-Admin is a batteries-included, simple-to-use Flask extension that lets you add admin interfaces to Flask applications. It is inspired by the django-admin package, but implemented in such a way that the developer has total control of the look, feel and functionality of the resulting application.
mcbetzalmost 10 years ago
I especially like, that I can use Flask-Admin with Peewee ORM - <a href="https:&#x2F;&#x2F;peewee.readthedocs.org&#x2F;en&#x2F;latest&#x2F;" rel="nofollow">https:&#x2F;&#x2F;peewee.readthedocs.org&#x2F;en&#x2F;latest&#x2F;</a> - instead of SQLAlchemy, because I feel so much more comfortable with Peewee when doing small CRUD projects. SQLAlchemy is a lot more powerful, but the learning curve (at least for me) is steeper than with Peewee. Flask-Admin is a beautiful piece of software to get Flask backends set up quickly.
评论 #9761161 未加载
columboalmost 10 years ago
Getting the admin-interface correct is one of those holy grails. The problem I typically run into is adding complex wizards or features outside of the standard crud stack.<p>When I&#x27;m investigating an out of the box admin interface I&#x27;m _less concerned_ about how they handle CRUD; that&#x27;s the easy part. Really I need to know how they handle things that go well beyond their stack.<p>For example, in one application we need to create events for people (like google calendar). You need to be able to search for people, show the system what they already have assigned at that time and allow you to choose times that are best for everyone in the list. This has been designed as a multi-step wizard and it works great but it was a ton of custom code. Looking at the online documentation of flask I&#x27;m not sure how I would go about integrating something like this.
评论 #9759617 未加载
hit8runalmost 10 years ago
I have the feeling that flask has been neglected for a while. The last release 0.10.1 was on Jun 14, 2013. The mastermind behind Flask, Armin Ronacher, is more into Rust nowadays. I once started a big codebase on Flask and had to move away from it because of some really strange bugs and bad interplay of officially approved packages. The idea behind Flask is nice and there are great plugins out there like Flask-Admin but I don&#x27;t trust that code base anymore. Also I found a weird bug that kept Flask from answering more than about 500 requests per second and nothing happened since then. For me it was the right decision to jump to Go.
评论 #9762910 未加载
thom_nicalmost 10 years ago
Nice. Definitely something that I miss when using Express for a UI-centric project. Seemed like only the &quot;kitchen sink&quot; frameworks (Rails, Django) had decent CRUD&#x2F;admin UI options.
joeclefalmost 10 years ago
I use Flask-Admin in production, it is great! It definitely saved me a lot of dev hours. Thanks for this awesome tool.
评论 #9759562 未加载
jslakroalmost 10 years ago
Any comment on the comparison with Flask-AppBuilder <a href="https:&#x2F;&#x2F;github.com&#x2F;dpgaspar&#x2F;Flask-AppBuilder" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dpgaspar&#x2F;Flask-AppBuilder</a> ? I&#x27;ve already made projects with the last one and I think is very nice. Are there any deep diferences, advantages or something I should take into account? e.g. github contributors ;)
评论 #9759645 未加载
nlalmost 10 years ago
I recently discovered Flask-Admin via Airflow. I&#x27;m quite interested if anyone has any experience with it (or recommendations for alternatives).<p>For this I&#x27;m prioritising development speed over just about anything else, and I&#x27;m comfortable in most mainstream languages.
warunslalmost 10 years ago
&gt; Campus Bubble is a single page app with React.js on a frontend and Python services on a backend. We use Flask, SQLAlchemy, Tornado (SockJS push notifications), PostgreSQL, Redis - a pretty standard Flask stack.<p>Can anyone explain how Flask and Tornado could be used together?
评论 #9760660 未加载
nnainalmost 10 years ago
fask-admin (or any decent CRUD interface) is one of my favourite parts of developing a new application backend. The amount of functionality you can achieve without touching HTML&#x2F;JS is amazing.<p>Goes a long way in keeping the application modular and maintainable.
rhpistolealmost 10 years ago
Maybe lead with that it is a CRUD package for the Python framework Flask rather than expecting readers to be familiar with the Python ecosystem enough to be aware of what it is?
评论 #9759354 未加载
bayesianhorsealmost 10 years ago
I&#x27;m still more in favor of Django. There is more to learn about it, but almost all Flask projects that get beyond the weekend-project stage end up reimplementing stuff that is in Django, or working around that lack.<p>The interplay between ORM, migrations, admin, CRUD, API, Forms, etc is just beautiful. Doing that with SQLAlchemy and the like is possible, but may create a bigger mess than starting out with a slightly less lightweight Django. project.
评论 #9762586 未加载
nowafizykaalmost 10 years ago
This looks interesting! I just started playing around with this a bit, and maybe I&#x27;m missing something, but it looks like the ModelViews only implement create, update, and delete? Why no read?
评论 #9760057 未加载