Module Import alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore Call NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Str Assign NameStore NameLoad Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad If BoolOpAnd CompareEq NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Continue If CompareEq NameLoad AttributeLoad NameLoad attr body Continue If BoolOpOr AttributeLoad NameLoad attr CompareNotEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIn Call NameLoad NameLoad NameLoad body If BoolOpOr AttributeLoad NameLoad attr CompareNotEq Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpAdd Str BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad orelse Assign NameStore NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Return Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Dict BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore NameLoad orelse AugAssignBitOr NameStore NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body For TupleStore NameStore NameStore NameStore NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore IfExp UnaryOpNot AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad IfExp NameLoad Str Str NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad IfExp SubscriptLoad NameLoad Index Num Str Str SubscriptLoad NameLoad Index Num If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpMult NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Return Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr keyword NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call NameLoad Call NameLoad Str keyword Call NameLoad NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Call NameLoad Str keyword Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str Return NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Call NameLoad Str keyword Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str Return NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Call NameLoad Str keyword Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str Return NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str If BoolOpOr UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad body Expr Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad Num Return Call NameLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Dict Str AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd CompareEq NameLoad Str UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Num Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad For NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad attr body AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call NameLoad Str Str NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Call NameLoad Str keyword Call NameLoad NameLoad Str decorator_list Call NameLoad Str Call NameLoad Str Call NameLoad Str decorator_list
N/A N/A logging flask request flash abort Response flask_admin expose flask_admin.babel gettext ngettext lazy_gettext flask_admin.model BaseModelView flask_admin.model.form create_editable_list_form flask_admin._compat iteritems string_types N/A mongoengine N/A gridfs mongoengine.connection get_db bson.objectid ObjectId flask_admin.actions action filters FilterConverter BaseMongoEngineFilter form get_form CustomModelConverter typefmt DEFAULT_FORMATTERS tools parse_like_term helpers format_error ajax process_ajax_references create_ajax_loader subdoc convert_subdocuments N/A log N/A N/A logging getLogger flask-admin.mongo N/A SORTABLE_FIELDS N/A set N/A N/A mongoengine StringField N/A mongoengine IntField N/A mongoengine FloatField N/A mongoengine BooleanField N/A mongoengine DateTimeField N/A mongoengine ComplexDateTimeField N/A mongoengine ObjectIdField N/A mongoengine DecimalField N/A mongoengine ReferenceField N/A mongoengine EmailField N/A mongoengine UUIDField N/A mongoengine URLField ModelView N/A BaseModelView N/A N/A 
        MongoEngine model scaffolding.
     N/A column_filters None N/A 
        Collection of the column filters.

        Can contain either field names or instances of
        :class:`flask_admin.contrib.mongoengine.filters.BaseMongoEngineFilter`
        classes.

        Filters will be grouped by name when displayed in the drop-down.

        For example::

            class MyModelView(BaseModelView):
                column_filters = ('user', 'email')

        or::

            from flask_admin.contrib.mongoengine.filters import BooleanEqualFilter

            class MyModelView(BaseModelView):
                column_filters = (BooleanEqualFilter(column=User.name, name='Name'),)

        or::

            from flask_admin.contrib.mongoengine.filters import BaseMongoEngineFilter

            class FilterLastNameBrown(BaseMongoEngineFilter):
                def apply(self, query, value):
                    if value == '1':
                        return query.filter(self.column == "Brown")
                    else:
                        return query.filter(self.column != "Brown")

                def operation(self):
                    return 'is Brown'

            class MyModelView(BaseModelView):
                column_filters = [
                    FilterLastNameBrown(
                        column=User.last_name, name='Last Name',
                        options=(('1', 'Yes'), ('0', 'No'))
                    )
                ]
     N/A model_form_converter CustomModelConverter N/A 
        Model form conversion class. Use this to implement custom
        field conversion logic.

        Custom class should be derived from the
        `flask_admin.contrib.mongoengine.form.CustomModelConverter`.

        For example::

            class MyModelConverter(AdminModelConverter):
                pass


            class MyAdminView(ModelView):
                model_form_converter = MyModelConverter
     N/A object_id_converter ObjectId N/A 
        Mongodb ``_id`` value conversion function. Default is `bson.ObjectId`.
        Use this if you are using String, Binary and etc.

        For example::

            class MyModelView(BaseModelView):
                object_id_converter = int

        or::

            class MyModelView(BaseModelView):
                object_id_converter = str
     N/A filter_converter N/A FilterConverter N/A 
        Field to filter converter.

        Override this attribute to use a non-default converter.
     N/A column_type_formatters DEFAULT_FORMATTERS N/A 
        Customized type formatters for MongoEngine backend
     N/A allowed_search_types N/A N/A mongoengine StringField N/A mongoengine URLField N/A mongoengine EmailField N/A 
        List of allowed search field types.
     N/A form_subdocuments None N/A 
        Subdocument configuration options.

        This field accepts dictionary, where key is field name and value is either dictionary or instance of the
        `flask_admin.contrib.mongoengine.EmbeddedForm`.

        Consider following example::

            class Comment(db.EmbeddedDocument):
                name = db.StringField(max_length=20, required=True)
                value = db.StringField(max_length=20)

            class Post(db.Document):
                text = db.StringField(max_length=30)
                data = db.EmbeddedDocumentField(Comment)

            class MyAdmin(ModelView):
                form_subdocuments = {
                    'data': {
                        'form_columns': ('name',)
                    }
                }

        In this example, `Post` model has child `Comment` subdocument. When generating form for `Comment` embedded
        document, Flask-Admin will only create `name` field.

        It is also possible to use class-based embedded document configuration::

            class CommentEmbed(EmbeddedForm):
                form_columns = ('name',)

            class MyAdmin(ModelView):
                form_subdocuments = {
                    'data': CommentEmbed()
                }

        Arbitrary depth nesting is supported::

            class SomeEmbed(EmbeddedForm):
                form_excluded_columns = ('test',)

            class CommentEmbed(EmbeddedForm):
                form_columns = ('name',)
                form_subdocuments = {
                    'inner': SomeEmbed()
                }

            class MyAdmin(ModelView):
                form_subdocuments = {
                    'data': CommentEmbed()
                }

        There's also support for forms embedded into `ListField`. All you have
        to do is to create nested rule with `None` as a name. Even though it
        is slightly confusing, but that's how Flask-MongoEngine creates
        form fields embedded into ListField::

            class Comment(db.EmbeddedDocument):
                name = db.StringField(max_length=20, required=True)
                value = db.StringField(max_length=20)

            class Post(db.Document):
                text = db.StringField(max_length=30)
                data = db.ListField(db.EmbeddedDocumentField(Comment))

            class MyAdmin(ModelView):
                form_subdocuments = {
                    'data': {
                        'form_subdocuments': {
                            None: {
                                'form_columns': ('name',)
                            }
                        }

                    }
                }
     __init__ N/A N/A self model name category endpoint url static_folder menu_class_name menu_icon_type menu_icon_value N/A None None None None None None None None N/A N/A 
            Constructor

            :param model:
                Model class
            :param name:
                Display name
            :param category:
                Display category
            :param endpoint:
                Endpoint
            :param url:
                Custom URL
            :param menu_class_name:
                Optional class name for the menu item.
            :param menu_icon_type:
                Optional icon. Possible icon types:

                 - `flask_admin.consts.ICON_TYPE_GLYPH` - Bootstrap glyph icon
                 - `flask_admin.consts.ICON_TYPE_FONT_AWESOME` - Font Awesome icon
                 - `flask_admin.consts.ICON_TYPE_IMAGE` - Image relative to Flask static directory
                 - `flask_admin.consts.ICON_TYPE_IMAGE_URL` - Image with full URL

            :param menu_icon_value:
                Icon glyph name or URL, depending on `menu_icon_type` setting
         N/A N/A self _search_fields N/A N/A N/A N/A N/A super ModelView self __init__ model name category endpoint url static_folder menu_class_name menu_class_name menu_icon_type menu_icon_type menu_icon_value menu_icon_value N/A N/A self _primary_key N/A N/A self scaffold_pk N/A _refresh_cache N/A N/A self N/A N/A N/A 
            Refresh cache.
         N/A N/A N/A self form_subdocuments None N/A N/A N/A self form_subdocuments N/A N/A N/A self _form_subdocuments N/A convert_subdocuments N/A self form_subdocuments N/A N/A N/A N/A super ModelView self _refresh_cache N/A _process_ajax_references N/A N/A self N/A N/A N/A 
            AJAX endpoint is exposed by top-level admin view class, but
            subdocuments might have AJAX references too.

            This method will recursively go over subdocument configuration
            and will precompute AJAX references for them ensuring that
            subdocuments can also use AJAX to populate their ReferenceFields.
         N/A references N/A N/A N/A super ModelView self _process_ajax_references N/A N/A process_ajax_references references self N/A _get_model_fields N/A N/A self model N/A None N/A N/A 
            Inspect model and return list of model fields

            :param model:
                Model to inspect
         N/A N/A model None N/A N/A model N/A self model N/A N/A sorted N/A iteritems N/A model _fields key N/A N/A N/A n N/A N/A N/A n N/A 1 creation_counter N/A scaffold_pk N/A N/A self N/A N/A N/A id N/A get_pk_value N/A N/A self model N/A N/A N/A 
            Return the primary key value from the model instance

            :param model:
                Model instance
         N/A N/A model pk N/A scaffold_list_columns N/A N/A self N/A N/A N/A 
            Scaffold list columns
         N/A columns N/A N/A N/A n f N/A N/A self _get_model_fields N/A N/A field_class N/A type f N/A N/A N/A field_class N/A mongoengine ListField N/A isinstance N/A f field N/A mongoengine EmbeddedDocumentField N/A N/A N/A N/A field_class N/A mongoengine EmbeddedDocumentField N/A N/A N/A N/A N/A self column_display_pk N/A field_class N/A mongoengine ObjectIdField N/A N/A N/A N/A columns append n N/A columns N/A scaffold_sortable_columns N/A N/A self N/A N/A N/A 
            Return a dictionary of sortable columns (name, field)
         N/A columns N/A N/A N/A n f N/A N/A self _get_model_fields N/A N/A N/A N/A type f SORTABLE_FIELDS N/A N/A N/A N/A self column_display_pk N/A N/A type f N/A mongoengine ObjectIdField N/A N/A N/A columns N/A n f N/A columns N/A init_search N/A N/A self N/A N/A N/A 
            Init search
         N/A N/A self column_searchable_list N/A N/A p N/A self column_searchable_list N/A N/A N/A isinstance p string_types N/A N/A p N/A N/A N/A N/A self model _fields get p N/A N/A p None N/A N/A N/A Exception Invalid search field N/A field_type N/A type p N/A N/A field_type N/A self allowed_search_types N/A N/A N/A Exception N/A Can only search on text columns.  N/A Failed to setup search for "%s" p N/A N/A N/A N/A self _search_fields append p N/A N/A bool N/A self _search_fields N/A scaffold_filters N/A N/A self name N/A N/A N/A 
            Return filter object(s) for the field

            :param name:
                Either field name or field instance
         N/A N/A isinstance name string_types N/A N/A attr N/A N/A N/A N/A self model _fields get name N/A N/A attr name N/A N/A attr None N/A N/A N/A Exception N/A Failed to find field for filter: %s name N/A visible_name None N/A N/A N/A isinstance name string_types N/A N/A visible_name N/A N/A self get_column_name N/A attr name N/A N/A visible_name N/A N/A visible_name N/A N/A self get_column_name name N/A type_name N/A N/A type attr __name__ N/A flt N/A N/A N/A self filter_converter convert type_name attr visible_name N/A flt N/A is_valid_filter N/A N/A self filter N/A N/A N/A 
            Validate if the provided filter is a valid MongoEngine filter

            :param filter:
                Filter object
         N/A N/A isinstance filter BaseMongoEngineFilter N/A scaffold_form N/A N/A self N/A N/A N/A 
            Create form from the model.
         N/A form_class N/A get_form N/A self model N/A N/A self model_form_converter self base_class N/A self form_base_class only N/A self form_columns exclude N/A self form_excluded_columns field_args N/A self form_args extra_fields N/A self form_extra_fields N/A form_class N/A scaffold_list_form N/A N/A self widget validators N/A None None N/A N/A 
            Create form for the `index_view` using only the columns from
            `self.column_editable_list`.

            :param widget:
                WTForms widget class. Defaults to `XEditableWidget`.
            :param validators:
                `form_args` dict with only validators
                {'name': {'validators': [required()]}}
         N/A form_class N/A get_form N/A self model N/A N/A self model_form_converter self base_class N/A self form_base_class only N/A self column_editable_list field_args validators N/A N/A create_editable_list_form N/A self form_base_class form_class widget N/A _create_ajax_loader N/A N/A self name opts N/A N/A N/A N/A create_ajax_loader N/A self model name name opts N/A get_query N/A N/A self N/A N/A N/A 
        Returns the QuerySet for this view.  By default, it returns all the
        objects for the current model.
         N/A N/A N/A self model objects N/A _search N/A N/A self query search_term N/A N/A N/A N/A op term N/A parse_like_term search_term N/A criteria None N/A field N/A self _search_fields N/A N/A flt N/A N/A %s__%s N/A N/A field name op term N/A q N/A N/A mongoengine Q flt N/A N/A criteria None N/A N/A criteria q N/A N/A criteria q N/A N/A N/A query filter criteria N/A get_list N/A N/A self page sort_column sort_desc search filters execute page_size N/A True None N/A N/A 
            Get list of objects from MongoEngine

            :param page:
                Page number
            :param sort_column:
                Sort column
            :param sort_desc:
                Sort descending
            :param search:
                Search criteria
            :param filters:
                List of applied filters
            :param execute:
                Run query immediately or not
            :param page_size:
                Number of results. Defaults to ModelView's page_size. Can be
                overriden to change the page_size limit. Removing the page_size
                limit requires setting page_size to 0 or False.
         N/A query N/A N/A self get_query N/A N/A self _filters N/A N/A N/A flt flt_name value filters N/A N/A f N/A N/A self _filters N/A flt N/A query N/A N/A f apply query N/A N/A f clean value N/A N/A N/A self _search_supported search N/A N/A query N/A N/A self _search query search N/A count N/A N/A N/A self simple_list_pager N/A N/A query count None N/A sort_column N/A N/A query N/A N/A query order_by N/A %s%s N/A N/A sort_desc - sort_column N/A N/A order N/A N/A self _get_default_order N/A order N/A N/A query N/A N/A query order_by N/A %s%s N/A N/A N/A order N/A 1 - N/A order N/A 0 N/A N/A page_size None N/A N/A page_size N/A self page_size N/A page_size N/A N/A query N/A N/A query limit page_size N/A N/A page page_size N/A N/A query N/A N/A query skip N/A page page_size N/A execute N/A N/A query N/A N/A query all N/A N/A count query N/A get_one N/A N/A self id N/A N/A N/A 
            Return a single model instance by its ID

            :param id:
                Model ID
         N/A N/A N/A N/A N/A N/A N/A N/A N/A self get_query filter pk id first N/A N/A N/A N/A mongoengine ValidationError N/A ex N/A N/A N/A flash N/A gettext Failed to get model. %(error)s error N/A format_error ex error N/A None N/A create_model N/A N/A self form N/A N/A N/A 
            Create model helper

            :param form:
                Form instance
         N/A N/A N/A model N/A N/A self model N/A N/A N/A form populate_obj model N/A N/A N/A self _on_model_change form model True N/A N/A N/A model save N/A N/A N/A Exception N/A ex N/A N/A N/A N/A N/A self handle_view_exception ex N/A N/A N/A flash N/A gettext Failed to create record. %(error)s error N/A format_error ex error N/A N/A N/A log exception Failed to create record. N/A False N/A N/A N/A N/A self after_model_change form model True N/A model N/A update_model N/A N/A self form model N/A N/A N/A 
            Update model helper

            :param form:
                Form instance
            :param model:
                Model instance to update
         N/A N/A N/A N/A N/A form populate_obj model N/A N/A N/A self _on_model_change form model False N/A N/A N/A model save N/A N/A N/A Exception N/A ex N/A N/A N/A N/A N/A self handle_view_exception ex N/A N/A N/A flash N/A gettext Failed to update record. %(error)s error N/A format_error ex error N/A N/A N/A log exception Failed to update record. N/A False N/A N/A N/A N/A self after_model_change form model False N/A True N/A delete_model N/A N/A self model N/A N/A N/A 
            Delete model helper

            :param model:
                Model instance
         N/A N/A N/A N/A N/A self on_model_delete model N/A N/A N/A model delete N/A N/A N/A Exception N/A ex N/A N/A N/A N/A N/A self handle_view_exception ex N/A N/A N/A flash N/A gettext Failed to delete record. %(error)s error N/A format_error ex error N/A N/A N/A log exception Failed to delete record. N/A False N/A N/A N/A N/A self after_model_delete model N/A True N/A api_file_view N/A N/A self N/A N/A N/A pk N/A N/A N/A request args get id N/A coll N/A N/A N/A request args get coll N/A db N/A N/A N/A request args get db default N/A N/A N/A pk N/A coll N/A db N/A N/A N/A abort 404 N/A fs N/A N/A gridfs GridFS N/A get_db db coll N/A data N/A N/A fs get N/A N/A self object_id_converter pk N/A N/A data N/A N/A N/A abort 404 N/A N/A Response N/A N/A data read content_type N/A data content_type headers N/A Content-Length N/A data length N/A N/A expose /api/file/ is_action_allowed N/A N/A self name N/A N/A N/A N/A N/A name delete N/A N/A self can_delete N/A N/A False N/A N/A N/A N/A super ModelView self is_action_allowed name N/A action_delete N/A N/A self ids N/A N/A N/A N/A N/A count 0 N/A all_ids N/A N/A N/A self object_id_converter pk N/A pk ids N/A obj N/A N/A N/A N/A N/A N/A self get_query in_bulk all_ids values N/A N/A count N/A N/A self delete_model obj N/A N/A flash N/A ngettext Record was successfully deleted. %(count)s records were successfully deleted. count count count N/A N/A N/A Exception N/A ex N/A N/A N/A N/A N/A self handle_view_exception ex N/A N/A N/A flash N/A gettext Failed to delete records. %(error)s error N/A str ex error N/A N/A action delete N/A lazy_gettext Delete N/A lazy_gettext Are you sure you want to delete selected records? N/A