Every application needs an interface that provides special privileges to some users and can be used to maintain and upgrade the application resources. For example, we can have an interface in an e-commerce application; this interface will allow some special users to create categories, products, and so on. Some users might have permissions to handle other users who shop on the website and deal with their account information and so on. Similarly, there can be many cases where we will need to isolate an interface of our application from normal users.
In this chapter, we will cover the following recipes:
Creating a simple CRUD interface
Using the Flask-Admin extension
Registering models with Flask-Admin
Creating custom forms and actions
WYSIWYG for textarea integration
Creating user roles