Module ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Str kwarg body Assign NameStore BinOpAdd Str NameLoad If NameLoad body AugAssignAdd NameStore BinOpAdd Str NameLoad orelse Assign NameStore NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str If CompareIn NameLoad NameLoad body Return NameLoad Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body Return Call NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str If CompareIs NameLoad NameLoad body Return Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad If CompareNotIn NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr
N/A __future__ absolute_import unicode_literals django.apps apps django.contrib.auth.models Permission django.core.urlresolvers reverse django.utils.text capfirst wagtail.wagtailadmin.menu MenuItem wagtail.wagtailcore hooks permissions user_can_edit_setting_type SettingMenuItem N/A MenuItem N/A __init__ N/A N/A self model icon classnames N/A cog kwargs N/A N/A icon_classes N/A icon icon- icon N/A classnames N/A N/A classnames N/A icon_classes N/A N/A classnames icon_classes N/A N/A self model model N/A N/A N/A N/A super SettingMenuItem self __init__ label N/A capfirst N/A N/A model _meta verbose_name url N/A reverse wagtailsettings:edit args N/A N/A N/A model _meta app_label N/A N/A model _meta model_name classnames classnames kwargs N/A is_shown N/A N/A self request N/A N/A N/A N/A user_can_edit_setting_type N/A request user N/A self model N/A N/A Registry N/A list N/A register N/A N/A self model N/A kwargs N/A N/A 
        Register a model as a setting, adding it to the wagtail admin menu
         N/A N/A model self N/A N/A model N/A N/A N/A self append model menu_hook N/A N/A N/A N/A N/A N/A SettingMenuItem model kwargs N/A N/A N/A hooks register register_settings_menu_item permissions_hook N/A N/A N/A N/A N/A N/A N/A N/A Permission objects filter content_type__app_label N/A N/A model _meta app_label codename N/A N/A change_{} format N/A N/A model _meta model_name N/A N/A N/A hooks register register_permissions N/A model N/A register_decorator N/A N/A self model N/A None kwargs N/A N/A 
        Register a model as a setting in the Wagtail admin
         N/A N/A model None N/A N/A N/A N/A N/A model N/A N/A N/A self register model kwargs N/A N/A N/A self register model kwargs N/A get_by_natural_key N/A N/A self app_label model_name N/A N/A N/A 
        Get a setting model using its app_label and model_name.

        If the app_label.model_name combination is not a valid model, or the
        model is not registered as a setting, returns None.
         N/A N/A N/A Model N/A N/A apps get_model app_label model_name N/A N/A N/A LookupError N/A N/A None N/A N/A Model registry N/A N/A None N/A Model N/A N/A N/A registry N/A Registry N/A register_setting N/A registry register_decorator