Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Num If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareLtE NameLoad Num body If CompareEq NameLoad Num body Return Call AttributeLoad AttributeLoad NameLoad attr attr orelse Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad If CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr Str body If CompareEq BinOpAdd AttributeLoad NameLoad attr Num NameLoad body Pass orelse If CompareLt BinOpAdd AttributeLoad NameLoad attr Num NameLoad body TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr keyword BinOpSub NameLoad Num keyword NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num handlers ExceptHandler type NameLoad body Return ListLoad orelse Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index BinOpSub NameLoad Num If Call NameLoad NameLoad Str NameLoad body Return Call AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad orelse If CompareEq NameLoad Num body TryExcept body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Return AttributeLoad NameLoad attr orelse Return Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler body Return ListLoad orelse Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr keyword BinOpAdd AttributeLoad NameLoad attr NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr ListLoad Return Str Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Return Str decorator_list decorator_list Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Num If CompareEq BinOpAdd AttributeLoad NameLoad attr Num NameLoad body Return Call AttributeLoad NameLoad attr orelse If CompareLt BinOpAdd AttributeLoad NameLoad attr Num NameLoad body Return Str TryExcept body Return Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Index BinOpSub NameLoad Num attr handlers ExceptHandler type NameLoad body Return Str decorator_list decorator_list Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Slice Num Assign NameStore Call NameLoad GeneratorExp TupleLoad AttributeLoad NameLoad attr NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore AttributeLoad NameLoad attr body If BoolOpAnd NameLoad CompareEq NameLoad AttributeLoad NameLoad attr body Continue If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad BinOpAdd Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad orelse If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list decorator_list Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareEq AttributeLoad NameLoad attr NameLoad body Return NameLoad Assign NameStore Call NameLoad GeneratorExp TupleLoad AttributeLoad NameLoad attr NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad If CompareIn NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad orelse If Call NameLoad NameLoad Str body Return Call NameLoad keyword NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num orelse If CompareNotIn NameLoad GeneratorExp SubscriptLoad NameLoad Index Num comprehension NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad keyword NameLoad decorator_list decorator_list Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad keyword AttributeLoad NameLoad attr decorator_list decorator_list Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot Call NameLoad NameLoad Str body Assign NameStore ListLoad NameLoad For NameStore NameLoad body Expr Yield Call NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If BoolOpOr UnaryOpNot NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr comprehension NameStore NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Call AttributeLoad NameLoad attr Return Dict Str NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Return BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareGt AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareLtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad decorator_list AttributeLoad NameLoad attr
N/A django template django.conf settings django.http HttpRequest feincms.module.page.models Page PageManager feincms.utils.templatetags * feincms.utils.templatetags _parse_args N/A register N/A N/A template Library NavigationNode N/A SimpleAssignmentNodeWithVarAndArgs N/A N/A 
    Return a list of pages to be used for the navigation

    level: 1 = toplevel, 2 = sublevel, 3 = sub-sublevel
    depth: 1 = only one level, 2 = subpages too
    extended: run navigation extension on returned pages, not only on top-level node

    If you set depth to something else than 1, you might want to look into
    the tree_info template tag from the mptt_tags library.

    Example::

        {% feincms_navigation of feincms_page as sublevel level=2,depth=1 %}
        {% for p in sublevel %}
            <a href="{{ p.get_absolute_url }}">{{ p.title }}</a>
        {% endfor %}
     what N/A N/A self instance args N/A N/A N/A level N/A int N/A N/A args get level 1 N/A depth N/A int N/A N/A args get depth 1 N/A N/A isinstance instance HttpRequest N/A N/A instance N/A N/A N/A Page objects from_request instance N/A entries N/A N/A self _what instance level depth N/A N/A N/A args get extended False N/A N/A _entries N/A list entries N/A entries N/A N/A entry _entries N/A N/A N/A N/A entries append entry N/A N/A getattr entry navigation_extension None N/A N/A N/A N/A entries extend N/A N/A entry extended_navigation depth depth request N/A N/A N/A self render_context get request None N/A entries N/A _what N/A N/A self instance level depth N/A N/A N/A N/A level 1 N/A N/A N/A depth 1 N/A N/A N/A N/A N/A Page objects toplevel_navigation N/A N/A N/A N/A N/A N/A N/A Page objects in_navigation filter level__lt depth N/A N/A N/A N/A instance __class__ __name__ PagePretender N/A N/A N/A N/A N/A instance level 2 level N/A N/A N/A N/A N/A N/A N/A instance level 2 level N/A N/A N/A N/A queryset N/A N/A N/A N/A instance get_descendants filter level N/A level 2 in_navigation True N/A instance N/A N/A N/A PageManager apply_active_filters queryset N/A 0 N/A N/A N/A IndexError N/A N/A N/A N/A N/A instance N/A N/A N/A instance get_ancestors N/A N/A level 2 N/A N/A getattr instance navigation_extension None N/A N/A N/A N/A instance extended_navigation depth depth request N/A N/A N/A self render_context get request None N/A N/A N/A depth 1 N/A N/A N/A N/A N/A N/A N/A instance __class__ __name__ PagePretender N/A N/A N/A instance children N/A N/A N/A N/A N/A instance children in_navigation N/A N/A N/A N/A N/A N/A N/A queryset N/A N/A N/A N/A instance get_descendants filter level__lte N/A N/A instance level depth in_navigation True N/A N/A N/A PageManager apply_active_filters queryset N/A N/A N/A N/A N/A register tag feincms_navigation N/A do_simple_assignment_node_with_var_and_args_helper NavigationNode ExtendedNavigationNode N/A NavigationNode N/A render N/A N/A self context N/A N/A N/A N/A self render_context context N/A N/A N/A instance N/A N/A N/A self in_var resolve context N/A N/A N/A N/A template VariableDoesNotExist N/A N/A N/A context N/A N/A self var_name N/A N/A N/A N/A context N/A N/A self var_name N/A N/A self what instance N/A _parse_args N/A self args context N/A N/A N/A N/A N/A N/A register tag feincms_navigation_extended N/A do_simple_assignment_node_with_var_and_args_helper ExtendedNavigationNode ParentLinkNode N/A SimpleNodeWithVarAndArgs N/A N/A 
    {% feincms_parentlink of feincms_page level=1 %}
     what N/A N/A self page args N/A N/A N/A level N/A int N/A N/A args get level 1 N/A N/A N/A N/A page level 1 level N/A N/A N/A N/A page get_absolute_url N/A N/A N/A N/A N/A page level 1 level N/A N/A # N/A N/A N/A N/A N/A N/A N/A N/A page get_ancestors N/A N/A level 1 get_absolute_url N/A N/A N/A IndexError N/A N/A # N/A N/A N/A N/A N/A register tag feincms_parentlink N/A do_simple_node_with_var_and_args_helper ParentLinkNode LanguageLinksNode N/A SimpleAssignmentNodeWithVarAndArgs N/A N/A 
    ::

        {% feincms_languagelinks for feincms_page as links [args] %}

    This template tag needs the translations extension.

    Arguments can be any combination of:

    * all or existing: Return all languages or only those where a translation exists
    * excludecurrent: Excludes the item in the current language from the list

    The default behavior is to return an entry for all languages including the
    current language.

    Example::

        {% feincms_languagelinks for entry as links all,excludecurrent %}
        {% for key, name, link in links %}
            <a href="{% if link %}{{ link }}{% else %}/{{ key }}/{% endif %}">{% trans name %}</a>
        {% endfor %}
     what N/A N/A self page args N/A N/A N/A only_existing N/A N/A args get existing False N/A exclude_current N/A N/A args get excludecurrent False N/A trailing_path N/A request N/A N/A args get request None N/A request N/A N/A trailing_path N/A N/A N/A N/A request _feincms_extra_context get extra_path N/A 1 N/A translations N/A dict N/A N/A N/A t language t N/A t N/A N/A page available_translations N/A N/A translations N/A N/A page language page N/A links N/A N/A N/A key name N/A settings LANGUAGES N/A N/A N/A exclude_current N/A key N/A page language N/A N/A N/A N/A key translations N/A N/A N/A N/A links append N/A key name N/A N/A N/A N/A translations N/A key get_absolute_url trailing_path N/A N/A N/A only_existing N/A N/A N/A N/A links append N/A key name None N/A links N/A N/A N/A N/A N/A register tag feincms_languagelinks N/A do_simple_assignment_node_with_var_and_args_helper LanguageLinksNode _translate_page_into N/A N/A page language default N/A None N/A N/A 
    Return the translation for a given page
     N/A N/A N/A page language language N/A N/A page N/A translations N/A dict N/A N/A N/A t language t N/A t N/A N/A page available_translations N/A N/A translations N/A N/A page language page N/A N/A language translations N/A N/A N/A translations N/A language N/A N/A N/A hasattr default __call__ N/A N/A N/A default page page N/A default N/A TranslatedPageNode N/A SimpleAssignmentNodeWithVarAndArgs N/A N/A 
    ::

        {% feincms_translatedpage for feincms_page as feincms_transpage language=en %}
        {% feincms_translatedpage for feincms_page as originalpage %}
        {% feincms_translatedpage for some_page as translatedpage language=feincms_page.language %}

    This template tag needs the translations extension.

    Returns the requested translation of the page if it exists. If the language
    argument is omitted the primary language will be returned (the first language
    specified in settings.LANGUAGES).

    Note: To distinguish between a bare language code and a variable we check whether
    settings LANGUAGES contains that code -- so naming a variable "en" will probably
    not do what is intended.
     what N/A N/A self page args default N/A None N/A N/A language N/A N/A args get language False N/A N/A language N/A N/A language N/A N/A N/A settings LANGUAGES N/A 0 N/A 0 N/A N/A N/A language N/A N/A x N/A 0 N/A x N/A settings LANGUAGES N/A N/A language N/A N/A N/A N/A template Variable language resolve N/A self render_context N/A N/A _translate_page_into page language default default N/A N/A N/A N/A N/A register tag feincms_translatedpage N/A do_simple_assignment_node_with_var_and_args_helper TranslatedPageNode TranslatedPageNodeOrBase N/A TranslatedPageNode N/A what N/A N/A self page args N/A N/A N/A N/A N/A N/A super TranslatedPageNodeOrBase self what page args default N/A page get_original_translation N/A N/A N/A N/A N/A register tag feincms_translatedpage_or_base N/A do_simple_assignment_node_with_var_and_args_helper TranslatedPageNodeOrBase feincms_translated_or_base N/A N/A pages language N/A None N/A N/A N/A N/A hasattr pages __iter__ N/A N/A pages N/A pages N/A page pages N/A N/A N/A N/A _translate_page_into page language default N/A page get_original_translation N/A N/A register filter feincms_breadcrumbs N/A N/A page include_self N/A True N/A N/A 
    Generate a list of the page's ancestors suitable for use as breadcrumb navigation.

    By default, generates an unordered list with the id "breadcrumbs" -
    override breadcrumbs.html to change this.

    ::

        {% feincms_breadcrumbs feincms_page %}
     N/A N/A N/A page N/A N/A isinstance page Page N/A N/A N/A ValueError feincms_breadcrumbs must be called with a valid Page object N/A ancs N/A N/A page get_ancestors N/A bc N/A N/A N/A N/A anc get_absolute_url N/A N/A anc short_title N/A anc ancs N/A include_self N/A N/A N/A N/A bc append N/A None N/A N/A page short_title N/A N/A trail bc N/A N/A N/A register inclusion_tag breadcrumbs.html is_parent_of N/A N/A page1 page2 N/A N/A N/A 
    Determines whether a given page is the parent of another page

    Example::

        {% if page|is_parent_of:feincms_page %} ... {% endif %}
     N/A N/A N/A N/A N/A N/A page1 tree_id N/A page2 tree_id N/A N/A page1 lft N/A page2 lft N/A N/A page1 rght N/A page2 rght N/A N/A N/A AttributeError N/A N/A False N/A N/A register filter is_equal_or_parent_of N/A N/A page1 page2 N/A N/A N/A N/A N/A N/A N/A N/A page1 tree_id N/A page2 tree_id N/A N/A page1 lft N/A page2 lft N/A N/A page1 rght N/A page2 rght N/A N/A N/A AttributeError N/A N/A False N/A N/A register filter is_sibling_of N/A N/A page1 page2 N/A N/A N/A 
    Determines whether a given page is a sibling of another page

    ::

        {% if page|is_sibling_of:feincms_page %} ... {% endif %}
     N/A N/A N/A N/A N/A page1 parent_id N/A page2 parent_id N/A N/A N/A AttributeError N/A N/A False N/A N/A register filter