还有哪些其他 Python Web 框架提供自动生成的管理 UI?
Django 的管理非常好,许多小部件都是可重用的。
什么是替代选择?其他 Web 框架的扩展?自动架构迁移?
Django's admin is very nice and many of the widgets is reuseable.
What are alternative options? Extensions for other Web frameworks? Auto schema migration?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
web2py 有一个名为“admin”的东西,它与 Django 的“admin”不同。web2py admin 是一个完全基于 Web 的 IDE。web2py
还有一个名为“appadmin”的东西,它与 Django 的 admin 类似,但不设计为暴露给用户。它是为系统管理员设计的,
但 appadmin 中的所有小部件以及更多小部件都可供应用程序使用,例如 {{=crud.search(table)}} 将创建一个搜索界面,并且{{=crud.create(table)}} 将创建一个条目表单,对表中的记录进行验证等。总结
:
** = web2py 更好。
web2py has something called "admin" which is not equivalent to Django's "admin'. The web2py admin is a fully web based IDE.
web2py also has something called "appadmin" which is similar to Django's admin but not designed to be exposed to users. It is designed for system administrators.
Yet all the widgets in appadmin and more are available to applications. For example {{=crud.search(table)}} will create a search interface, and {{=crud.create(table)}} will create an entry form with validation for records in table. Etc.
Summary:
** = web2py's are better.
web2py 有一些内置的管理。您可以在此处尝试一下
web2py has some builtin admin. You can try it out here
其他人已经提到了 web2py 的基于 Web 的 IDE 和数据库管理。您还询问了架构迁移,因此我会指出 web2py 也可以进行自动迁移。可以轻松地为所有表或特定表打开或关闭迁移。更多详细信息,请参阅书籍。
Others have already mentioned web2py's web-based IDE and database administration. You also asked about schema migration, so I'll point out that web2py does automatic migrations as well. Migrations can easily be turned on or off for all tables or for specific tables. More details in the book.
Flask框架有flask-admin: http://flask-admin.readthedocs.org/
The flask framework has flask-admin: http://flask-admin.readthedocs.org/