Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias identifier If AttributeLoad NameLoad attr body ImportFrom alias ImportFrom alias alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str ClassDef bases body Assign NameStore TupleLoad Call NameLoad Str Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Call NameLoad Str Assign NameStore Dict Str TupleLoad Call NameLoad Str decorator_list decorator_list orelse ClassDef bases AttributeLoad NameLoad attr body Expr Str ClassDef bases body Assign NameStore TupleLoad Assign NameStore Dict Str TupleLoad decorator_list decorator_list Assign NameStore Call NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If BoolOpAnd CompareEq NameLoad NameLoad UnaryOpNot NameLoad body Raise Call NameLoad Call NameLoad Str Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad Str Str Str Assign NameStore TupleLoad Str Assign NameStore TupleLoad Str Assign NameStore TupleLoad Str Str Assign NameStore IfExp AttributeLoad NameLoad attr NameLoad Str Assign NameStore Dict Str AttributeLoad NameLoad attr Assign NameStore TupleLoad TupleLoad NameLoad Dict Str ListLoad Str Str TupleLoad Str Str TupleLoad Call NameLoad Str Dict Str Str ListLoad Str Str TupleLoad Str Str Str Str TupleLoad Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad TryExcept body Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad BinOpAdd Call NameLoad AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body If CompareNotEq NameLoad NameLoad body TryExcept body Expr Call NameLoad NameLoad handlers ExceptHandler body Pass orelse Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If Call NameLoad AttributeLoad NameLoad attr NameLoad body For NameStore NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Str UnaryOpNot Call NameLoad NameLoad Str TryExcept body Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass Assign SubscriptStore SubscriptLoad NameLoad Index Num Index Str NameLoad Expr Call AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Index Str attr Str Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body ClassDef bases NameLoad NameLoad body Expr Str Pass decorator_list Return NameLoad Return NameLoad decorator_list ClassDef bases NameLoad Call NameLoad AttributeLoad NameLoad attr body Pass decorator_list ClassDef bases NameLoad Call NameLoad AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Call NameLoad NameLoad Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign NameStore Str Raise Call NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr CompareIn NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Num Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad NameLoad decorator_list If CompareEq NameLoad NameLoad body If CompareIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad
N/A __future__ unicode_literals django.contrib admin django.contrib.auth get_user_model django.contrib.auth.admin UserAdmin django.forms ValidationError ModelForm django.utils.translation ugettext_lazy _ django.contrib.auth.models User AuthUser mezzanine.conf settings mezzanine.core.forms DynamicInlineAdminForm mezzanine.core.models Orderable SitePermission CONTENT_STATUS_PUBLISHED mezzanine.utils.static static_lazy static N/A N/A settings USE_MODELTRANSLATION N/A collections OrderedDict django.utils.translation activate get_language modeltranslation.admin TranslationAdmin TranslationInlineModelAdmin BaseTranslationModelAdmin N/A TranslationAdmin N/A N/A 
        Mimic modeltranslation's TabbedTranslationAdmin but uses a
        custom tabbed_translation_fields.js
         Media N/A N/A N/A js N/A N/A static modeltranslation/js/force_jquery.js N/A static N/A mezzanine/js/%s N/A settings JQUERY_UI_FILENAME N/A static mezzanine/js/admin/tabbed_translation_fields.js N/A css N/A all N/A N/A static mezzanine/css/admin/tabbed_translation_fields.css N/A N/A N/A BaseTranslationModelAdmin N/A N/A admin ModelAdmin N/A N/A 
        Abstract class used to handle the switch between translation
        and no-translation class logic. We define the basic structure
        for the Media class so we can extend it consistently regardless
        of whether or not modeltranslation is used.
         Media N/A N/A N/A js N/A N/A css N/A all N/A N/A N/A N/A User N/A get_user_model DisplayableAdminForm N/A ModelForm N/A clean_content N/A N/A form N/A N/A N/A status N/A N/A N/A form cleaned_data get status N/A content N/A N/A N/A form cleaned_data get content N/A N/A N/A status CONTENT_STATUS_PUBLISHED N/A content N/A N/A N/A ValidationError N/A _ This field is required if status is set to published. N/A content N/A N/A DisplayableAdmin N/A BaseTranslationModelAdmin N/A N/A 
    Admin class for subclasses of the abstract ``Displayable`` model.
     N/A list_display N/A title status admin_link N/A list_display_links N/A title N/A list_editable N/A status N/A list_filter N/A status keywords__keyword N/A date_hierarchy N/A N/A settings USE_MODELTRANSLATION None publish_date N/A radio_fields N/A status N/A admin HORIZONTAL N/A fieldsets N/A N/A None N/A fields N/A title status N/A publish_date expiry_date N/A N/A _ Meta data N/A fields classes N/A _meta_title slug N/A description gen_description keywords in_sitemap N/A collapse-closed N/A form DisplayableAdminForm __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super DisplayableAdmin self __init__ args kwargs N/A N/A N/A N/A self search_fields N/A list N/A set N/A N/A list N/A self search_fields N/A list N/A N/A N/A N/A N/A N/A self model objects get_search_fields keys N/A N/A N/A AttributeError N/A N/A N/A save_model N/A N/A self request obj form change N/A N/A N/A 
        Save model for every language so that field auto-population
        is done for every each of it.
         N/A N/A N/A N/A super DisplayableAdmin self save_model request obj form change N/A N/A settings USE_MODELTRANSLATION N/A N/A lang N/A get_language N/A code N/A OrderedDict N/A settings LANGUAGES N/A N/A N/A code lang N/A N/A N/A N/A N/A activate code N/A N/A N/A N/A N/A N/A N/A N/A obj save N/A N/A activate lang N/A N/A BaseDynamicInlineAdmin N/A object N/A N/A 
    Admin inline that uses JS to inject an "Add another" link which
    when clicked, dynamically reveals another fieldset. Also handles
    adding the ``_order`` field and its widget for models that
    subclass ``Orderable``.
     N/A form DynamicInlineAdminForm N/A extra 1 get_fields N/A N/A self request obj N/A None N/A N/A fields N/A N/A N/A super BaseDynamicInlineAdmin self get_fields request obj N/A N/A issubclass N/A self model Orderable N/A N/A fields N/A list fields N/A N/A N/A N/A N/A fields remove _order N/A N/A N/A ValueError N/A N/A N/A N/A N/A fields append _order N/A fields N/A get_fieldsets N/A N/A self request obj N/A None N/A N/A fieldsets N/A N/A N/A super BaseDynamicInlineAdmin self get_fieldsets request obj N/A N/A issubclass N/A self model Orderable N/A N/A fieldset fieldsets N/A N/A fields N/A f N/A f N/A list N/A N/A fieldset N/A 1 N/A fields N/A N/A hasattr f translated_field N/A N/A N/A N/A N/A fields remove _order N/A N/A N/A ValueError N/A N/A N/A N/A N/A fieldset N/A 1 N/A fields fields N/A N/A N/A N/A N/A N/A fieldsets N/A -1 N/A 1 N/A fields append _order N/A fieldsets N/A N/A get_inline_base_class N/A N/A cls N/A N/A N/A N/A settings USE_MODELTRANSLATION N/A InlineBase N/A TranslationInlineModelAdmin cls N/A N/A 
            Abstract class that mimics django-modeltranslation's
            Translation{Tabular,Stacked}Inline. Used as a placeholder
            for future improvement.
             N/A N/A N/A InlineBase N/A cls N/A TabularDynamicInlineAdmin N/A BaseDynamicInlineAdmin N/A get_inline_base_class N/A admin TabularInline N/A N/A N/A StackedDynamicInlineAdmin N/A BaseDynamicInlineAdmin N/A get_inline_base_class N/A admin StackedInline N/A __init__ N/A N/A self N/A args kwargs N/A N/A 
        Stacked dynamic inlines won't work without grappelli
        installed, as the JavaScript in dynamic_inline.js isn't
        able to target each of the inlines to set the value of
        the order field.
         N/A grappelli_name N/A getattr settings PACKAGE_NAME_GRAPPELLI N/A N/A grappelli_name N/A settings INSTALLED_APPS N/A N/A error StackedDynamicInlineAdmin requires Grappelli installed. N/A N/A Exception error N/A N/A N/A N/A super StackedDynamicInlineAdmin self __init__ args kwargs N/A N/A OwnableAdmin N/A N/A admin ModelAdmin N/A N/A 
    Admin class for models that subclass the abstract ``Ownable``
    model. Handles limiting the change list to objects owned by the
    logged in user, as well as setting the owner of newly created
    objects to the logged in user.

    Remember that this will include the ``user`` field in the required
    fields for the admin change form which may not be desirable. The
    best approach to solve this is to define a ``fieldsets`` attribute
    that excludes the ``user`` field or simple add ``user`` to your
    admin excludes: ``exclude = ('user',)``
     save_form N/A N/A self request form change N/A N/A N/A 
        Set the object's owner as the logged in user.
         N/A obj N/A N/A form save commit False N/A N/A N/A obj user_id None N/A N/A N/A obj user N/A request user N/A N/A N/A N/A super OwnableAdmin self save_form request form change N/A get_queryset N/A N/A self request N/A N/A N/A 
        Filter the change list by currently logged in user if not a
        superuser. We also skip filtering if the model for this admin
        class has been added to the sequence in the setting
        ``OWNABLE_MODELS_ALL_EDITABLE``, which contains models in the
        format ``app_label.object_name``, and allows models subclassing
        ``Ownable`` to be excluded from filtering, eg: ownership should
        not imply permission to edit.
         N/A opts N/A N/A self model _meta N/A model_name N/A N/A N/A %s.%s N/A N/A opts app_label N/A opts object_name lower N/A models_all_editable N/A settings OWNABLE_MODELS_ALL_EDITABLE N/A models_all_editable N/A N/A N/A m lower N/A m models_all_editable N/A qs N/A N/A N/A super OwnableAdmin self get_queryset request N/A N/A N/A N/A request user is_superuser N/A model_name models_all_editable N/A N/A qs N/A N/A N/A qs filter user__id N/A N/A request user id N/A N/A SitePermissionInline N/A N/A admin TabularInline N/A N/A model SitePermission N/A max_num 1 N/A can_delete False N/A SitePermissionUserAdmin N/A UserAdmin N/A N/A inlines N/A SitePermissionInline N/A N/A N/A User AuthUser N/A N/A N/A User N/A N/A admin site _registry N/A N/A N/A N/A N/A admin site unregister User N/A N/A N/A N/A admin site register User SitePermissionUserAdmin