开发者

What other Python Web frameworks provide auto generated admin UI?

开发者 https://www.devze.com 2023-03-12 23:49 出处:网络
Django\'s admin is very nice and many of the wi开发者_如何学Pythondgets is reuseable. What are alternative options? Extensions for other Web frameworks? Auto schema migration?web2py has something cal

Django's admin is very nice and many of the wi开发者_如何学Pythondgets is reuseable.

What are alternative options? Extensions for other Web frameworks? Auto schema migration?


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:

                      Django   web2py
web based IDE         no       yes
database interface    admin    appadmin (*)
crud widgets in apps  some     all      (**)
  • = Django's is better, web2py's appadmin is for administrators only. ** = web2py's are better.


web2py has some builtin admin. You can try it out here


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.


The flask framework has flask-admin: http://flask-admin.readthedocs.org/

0

精彩评论

暂无评论...
验证码 换一张
取 消