<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_app(cls, import_name, **settings):
 """Create a standard Fleaker web application. This is the main entrypoint for creating your Fleaker application. Instead of defining your own app factory function, it's preferred that you use :meth:`create_app`, which is responsible for automatically configuring extensions (such as your ORM), parsing setup code for mixins, and calling relevant hooks (such as to setup logging). Usage is easy: .. code:: python from fleaker import App def my_create_app():
 app = App.create_app(__name__) return app And the rest works like a normal Flask app with application factories setup! .. versionadded:: 0.1.0 This has always been the preferred way to create Fleaker Applications. """

        settings = cls.pre_create_app(**settings)

        # now whitelist the settings
        flask_kwargs = cls._whitelist_standard_flask_kwargs(settings)

        app = cls(import_name, **flask_kwargs)
        return cls.post_create_app(app, **settings)