Module ImportFrom alias alias Import alias ClassDef bases NameLoad body Pass decorator_list Assign NameStore NameLoad ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad Call NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword Num Assign NameStore Call NameLoad NameLoad Return Call NameLoad Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list
N/A __future__ absolute_import unicode_literals N/A warnings RemovedInWagtail16Warning N/A DeprecationWarning N/A N/A N/A N/A removed_in_next_version_warning RemovedInWagtail16Warning RemovedInWagtail17Warning N/A PendingDeprecationWarning N/A N/A N/A ThisShouldBeAList N/A list N/A N/A 
    Some properties - such as Indexed.search_fields - used to be tuples. This
    is incorrect, and they should have been lists.  Changing these to be a list
    now would be backwards incompatible, as people do

    .. code-block:: python

        search_fields = Page.search_fields + (
            SearchField('body')
        )

    Adding a tuple to the end of a list causes an error.

    This class will allow tuples to be added to it, as in the above behaviour,
    but will raise a deprecation warning if someone does this.
     N/A message Using a {type} for {name} is deprecated, use a list instead __init__ N/A N/A self items name category N/A N/A N/A N/A N/A N/A super ThisShouldBeAList self __init__ items N/A N/A self name name N/A N/A self category category N/A _format_message N/A N/A self rhs N/A N/A N/A N/A N/A N/A self message format name N/A self name type N/A N/A type rhs __name__ N/A __add__ N/A N/A self rhs N/A N/A N/A cls N/A type self N/A N/A isinstance rhs tuple N/A N/A message N/A N/A self _format_message rhs N/A N/A N/A warnings warn message category N/A self category stacklevel 2 N/A rhs N/A list rhs N/A N/A cls N/A N/A N/A super ThisShouldBeAList self __add__ N/A list rhs name N/A self name category N/A self category N/A N/A SearchFieldsShouldBeAList N/A ThisShouldBeAList N/A N/A 
    Indexed.search_fields was a tuple, but it should have been a list
     __init__ N/A N/A self items name category N/A search_fields RemovedInWagtail17Warning N/A N/A N/A N/A N/A super SearchFieldsShouldBeAList self __init__ items name category N/A N/A