Module ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr keyword Str attr Print Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str keyword NameLoad attr body Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults Str body Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Assign NameStore Str Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr Str body If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body If NameLoad body Assign SubscriptStore NameLoad Index Str NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad NameLoad Assign NameStore BoolOpOr AttributeLoad NameLoad attr Num If CompareNotEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Str Assign NameStore Call NameLoad NameLoad Str NameLoad Assign NameStore ListLoad If NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Return TupleLoad CompareNotEq AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad For NameStore NameLoad body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If AttributeLoad NameLoad attr body For NameStore NameLoad body If BoolOpAnd CompareNotIn AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If NameLoad body For NameStore NameLoad body If BoolOpAnd AttributeLoad NameLoad attr CompareNotIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse For NameStore NameLoad body If CompareNotIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict For NameStore NameLoad body If CompareNotIn AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Assign AttributeStore Call NameLoad attr NameLoad Return NameLoad decorator_list Call AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Assign NameStore Call AttributeLoad Call NameLoad Call NameLoad Str Dict attr NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore BoolOpOr AttributeLoad NameLoad attr Num TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore NameLoad If BoolOpOr BoolOpAnd CompareNotEq AttributeLoad NameLoad attr NameLoad UnaryOpNot NameLoad UnaryOpNot Call NameLoad NameLoad Str NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list Call AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str Str NameLoad NameLoad Str AttributeLoad NameLoad attr body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Str If UnaryOpNot NameLoad body Return NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Return Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str NameLoad NameLoad NameLoad If CompareIn NameLoad NameLoad body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Return Call NameLoad BinOpAdd BinOpAdd NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad Str body Return Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BoolOpOr NameLoad Str Assign NameStore CompareEq AttributeLoad NameLoad attr Str If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot NameLoad body Assign NameStore Str If NameLoad body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If NameLoad body Return NameLoad Return Call AttributeLoad Str attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad Str attr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str If UnaryOpNot Call NameLoad NameLoad Str NameLoad body Return NameLoad Assign NameStore Call AttributeLoad Str attr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Assign NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr body If CompareIn Str NameLoad body Assign NameStore NameLoad If NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad attr NameLoad Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str If UnaryOpNot Call NameLoad NameLoad Str NameLoad body Return NameLoad Assign NameStore Call AttributeLoad Str attr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Assign NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr body If CompareIn Str NameLoad body Assign NameStore NameLoad If NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Str keyword NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num NameLoad kwarg body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass Assign NameStore Call NameLoad ListComp TupleLoad NameLoad Call AttributeLoad NameLoad attr Str comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr BoolOpAnd Call AttributeLoad NameLoad attr Str CompareIsNot Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Str Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad If UnaryOpNot SubscriptLoad NameLoad Index NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword BinOpAdd AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad SubscriptLoad NameLoad Index NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad ListLoad TryExcept body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad attr Str Slice NameLoad handlers ExceptHandler body Pass Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults kwarg body Expr Str Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num NameLoad body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr keyword NameLoad If BoolOpAnd Call NameLoad NameLoad NameLoad CompareGt NameLoad Num NameLoad body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore ListComp SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad comprehension NameStore Call NameLoad Num Call NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Str NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list Call AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad Call NameLoad NameLoad Str body Return NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Return NameLoad Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str If Call NameLoad NameLoad Str NameLoad body Assign NameStore Call AttributeLoad Str attr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr If CompareIn Str Call AttributeLoad NameLoad attr body Delete SubscriptDel NameLoad Index Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str orelse Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Return NameLoad Return Str decorator_list AttributeLoad NameLoad attr
N/A collections Counter N/A logging django template django.conf settings django.utils timezone django.utils.safestring mark_safe django.core.cache cache django.contrib.sites.models Site opps.channels.models Channel opps.contrib.middleware.global_request get_request opps.containers.models Container ContainerBox Mirror magicdate magicdate N/A register N/A N/A template Library N/A logger N/A N/A logging getLogger get_tags_counter N/A N/A queryset n N/A None None N/A N/A N/A queryset None N/A N/A queryset N/A N/A N/A Container objects all_published N/A counter N/A Counter N/A qs N/A N/A N/A N/A N/A N/A queryset filter tags__isnull False exclude tags order_by N/A N/A N/A qs count N/A tags N/A N/A N/A N/A qs values_list tags flat True distinct N/A N/A l N/A N/A N/A i strip N/A i N/A N/A tags split , N/A N/A i strip N/A N/A N/A counter update l N/A N/A N/A counter most_common n N/A N/A register assignment_tag values_list_flat N/A N/A queryset field N/A pk N/A N/A N/A N/A queryset values_list field flat True N/A N/A register filter get_recommendations N/A N/A query_slice child_class container N/A N/A N/A 
    Takes the container object and get recommendations and filters by given
    child_class and limit the result by given slice.

    Sample usage::

        {% get_recommendations ":3" "post" container as context_var %}

    query_slice:
        A string with slice notation to limit the queryset result
    child_class:
        Name of child class
    container:
        A Container object
     N/A N/A query_slice N/A N/A query_slice : N/A bits N/A N/A x N/A N/A query_slice split : N/A N/A N/A N/A len x 0 N/A N/A N/A N/A bits append None N/A N/A N/A N/A bits append N/A int x N/A N/A N/A container recommendation child_class bits N/A N/A register assignment_tag load_boxes N/A N/A context slugs N/A None filters N/A N/A slugs N/A N/A N/A filters N/A slug__in ordered_slugs N/A N/A slugs split , N/A request N/A context N/A request N/A current_site N/A getattr request site N/A N/A N/A Site objects get pk N/A settings SITE_ID N/A N/A filters N/A site__in N/A current_site N/A master_site N/A N/A settings OPPS_CONTAINERS_SITE_ID 1 N/A N/A N/A current_site id master_site N/A N/A N/A N/A N/A filters N/A site__in append master_site N/A N/A filters N/A date_available__lte N/A N/A timezone now N/A N/A filters N/A published True N/A boxes N/A N/A N/A N/A N/A ContainerBox objects filter filters order_by -site N/A fallback N/A getattr settings OPPS_MULTISITE_FALLBACK False N/A exclude_ids N/A N/A slugs N/A ob N/A N/A i o N/A ordered_slugs N/A N/A N/A N/A N/A i site_id current_site N/A i site_id N/A N/A o index N/A i slug N/A N/A boxes N/A sorted boxes key ob reverse True N/A box boxes N/A N/A N/A box queryset N/A N/A results N/A N/A box get_queryset exclude_ids exclude_ids N/A N/A results N/A N/A box ordered_containers exclude_ids exclude_ids N/A N/A box queryset N/A N/A i results N/A N/A N/A N/A N/A i pk exclude_ids N/A isinstance i Container N/A N/A N/A N/A exclude_ids append N/A i pk N/A N/A fallback N/A N/A i results N/A N/A N/A N/A i container_id N/A N/A i container_id exclude_ids N/A N/A N/A N/A exclude_ids append N/A i container_id N/A N/A i results N/A N/A N/A N/A i pk exclude_ids N/A N/A N/A N/A exclude_ids append N/A i pk N/A results N/A N/A box boxes N/A N/A N/A N/A box slug results N/A N/A N/A results N/A N/A box slug box N/A N/A N/A get_request container_boxes results N/A results N/A N/A N/A register assignment_tag takes_context True get_containerbox N/A N/A context slug template_name channel N/A None None extra_context N/A N/A request N/A context N/A request N/A current_site N/A getattr request site N/A N/A N/A Site objects get pk N/A settings SITE_ID N/A is_mobile N/A getattr request is_mobile False N/A cachekey N/A N/A ContainerBox-{0}-{1}-{2}-{3} format slug template_name is_mobile N/A current_site id N/A render N/A N/A cache get cachekey N/A render N/A N/A render N/A box N/A N/A N/A getattr N/A get_request container_boxes N/A get slug None N/A N/A box N/A N/A filters N/A N/A N/A filters N/A site_id N/A current_site id N/A N/A filters N/A slug slug N/A N/A filters N/A date_available__lte N/A N/A timezone now N/A N/A filters N/A published True N/A N/A channel None N/A N/A N/A filters N/A channel channel N/A master_site N/A N/A settings OPPS_CONTAINERS_SITE_ID 1 N/A N/A N/A box N/A N/A N/A ContainerBox objects get filters N/A N/A N/A N/A ContainerBox DoesNotExist N/A N/A box None N/A N/A N/A N/A N/A current_site id master_site N/A box N/A N/A getattr box has_content False N/A N/A N/A filters N/A site_id master_site N/A N/A N/A box N/A N/A N/A ContainerBox objects get filters N/A N/A N/A N/A ContainerBox DoesNotExist N/A N/A box None N/A N/A box N/A N/A box N/A N/A N/A ContainerBox objects none N/A t N/A N/A N/A template loader get_template articles/articlebox_detail.html N/A template_name N/A N/A t N/A N/A N/A template loader get_template template_name N/A context N/A articlebox slug context request box slug context request N/A N/A N/A context update extra_context N/A render N/A N/A t render N/A N/A template Context context N/A N/A N/A cache set cachekey render N/A settings OPPS_CACHE_EXPIRE N/A render N/A N/A N/A register simple_tag takes_context True get_all_containerbox N/A N/A channel_long_slug template_name N/A None None N/A N/A 
    Takes all containers or containers that match the channel name (long slug).

    Sample usages::

        {% get_all_containerbox "channel" template_name='my_template.html' %}
        {% get_all_containerbox "channel/subchannel" %}
        {% get_all_containerbox %}

    channel_long_slug:
        Long path to channel (including subchannel if is the case)
     N/A cachekey N/A N/A get_all_containerbox-{0}-{1} format channel_long_slug template_name N/A render N/A N/A cache get cachekey N/A render N/A N/A render N/A filters N/A N/A N/A filters N/A date_available__lte N/A N/A timezone now N/A N/A filters N/A published True N/A N/A filters N/A site N/A settings SITE_ID N/A N/A settings OPPS_CONTAINERS_SITE_ID N/A N/A N/A filters N/A site N/A settings OPPS_CONTAINERS_SITE_ID N/A boxes N/A N/A N/A ContainerBox objects filter filters N/A channel_long_slug N/A N/A boxes N/A N/A boxes filter channel_long_slug channel_long_slug N/A t N/A N/A N/A template loader get_template articles/articlebox_list.html N/A template_name N/A N/A t N/A N/A N/A template loader get_template template_name N/A render N/A N/A t render N/A N/A template Context N/A articleboxes boxes N/A N/A N/A cache set cachekey render N/A settings OPPS_CACHE_EXPIRE N/A render N/A N/A register simple_tag get_post_content N/A N/A post template_name content_field related_name get_related safe divider placeholder N/A containers/post_related.html content related_posts True True <br /> N/A settings OPPS_RELATED_POSTS_PLACEHOLDER N/A N/A 
    takes the post and tries to find the related posts to embed inside
    the content, if not found return only the content.

    post:
        Post instance
    template_name:
        path to template which receives the related posts
    content_field:
        name of the field with post content
    related_name:
        a m2m field name or a @property name which
        returns a queryset of related posts
    get_related:
        if False bypass and return only the content
    safe:
        if True mark the content as safe
    divider:
        used when there is no placeholder
    placeholder:
        the string to replace ex: --related--
     N/A N/A N/A hasattr post content_field N/A N/A None N/A content N/A getattr post content_field N/A content N/A N/A content replace allowfullscreen="allowfullscreen" allowfullscreen="true" N/A N/A get_related N/A N/A content N/A related_posts N/A getattr post related_name None N/A N/A N/A N/A related_posts exists N/A N/A N/A mark_safe content N/A t N/A N/A N/A template loader get_template template_name N/A related_rendered N/A N/A t render N/A N/A template Context N/A post related_name post related_posts N/A N/A placeholder content N/A N/A N/A mark_safe N/A N/A content replace placeholder related_rendered N/A N/A N/A mark_safe N/A N/A content divider related_rendered N/A N/A register simple_tag get_url N/A N/A obj http target url_only N/A False None False N/A N/A N/A N/A hasattr obj child_class N/A N/A N/A N/A obj get_absolute_url N/A N/A N/A _url N/A N/A obj get_absolute_url N/A _target N/A target _self N/A _is_link N/A N/A obj child_class Link N/A N/A _is_link N/A N/A N/A N/A obj link is_local N/A target N/A N/A _target _blank N/A http N/A N/A _url N/A N/A http://{0}{1} format N/A obj site N/A N/A obj get_absolute_url N/A url_only N/A N/A _url N/A N/A N/A href="{0}" target="{1}" format _url _target N/A N/A N/A Exception N/A e N/A N/A N/A N/A logger error N/A N/A Exception at templatetag get_url: {0} format e N/A N/A N/A obj get_absolute_url N/A N/A register simple_tag get_containers_by N/A N/A limit N/A None filters N/A N/A Return a list of containers filtered by given args N/A cachekey N/A N/A getcontainersby-{0} format N/A hash N/A frozenset N/A N/A filters items N/A _cache N/A N/A cache get cachekey N/A _cache N/A N/A _cache N/A site N/A settings SITE_ID N/A N/A settings OPPS_CONTAINERS_SITE_ID N/A N/A site N/A settings OPPS_CONTAINERS_SITE_ID N/A qs N/A N/A N/A Container objects all_published N/A qs N/A N/A qs filter site site filters N/A qs N/A qs N/A limit N/A containers N/A i N/A i qs N/A N/A N/A cache set cachekey containers N/A settings OPPS_CACHE_EXPIRE N/A containers N/A N/A register assignment_tag filter_queryset_by N/A N/A queryset N/A filters N/A N/A Filter object list N/A N/A N/A getattr queryset query False N/A N/A queryset N/A cachekey N/A N/A filterquerysetby-{0} format N/A hash N/A unicode N/A queryset query N/A _cache N/A N/A cache get cachekey N/A _cache N/A N/A _cache N/A found_in_lookup None N/A key N/A N/A filters keys N/A N/A N/A __in key N/A N/A found_in_lookup key N/A found_in_lookup N/A N/A N/A filters N/A found_in_lookup N/A N/A N/A filters N/A found_in_lookup split , N/A N/A N/A N/A N/A queryset query can_filter N/A N/A ids N/A N/A i id N/A i queryset N/A queryset N/A N/A N/A N/A N/A N/A queryset model objects filter id__in ids filter filters N/A queryset N/A containers N/A N/A queryset filter filters N/A N/A N/A cache set cachekey containers N/A settings OPPS_CACHE_EXPIRE N/A containers N/A N/A register assignment_tag exclude_queryset_by N/A N/A queryset N/A excludes N/A N/A Exclude object list N/A N/A N/A getattr queryset query False N/A N/A queryset N/A cachekey N/A N/A excludequerysetby-{0} format N/A hash N/A unicode N/A queryset query N/A _cache N/A N/A cache get cachekey N/A _cache N/A N/A _cache N/A found_in_lookup None N/A key N/A N/A excludes keys N/A N/A N/A __in key N/A N/A found_in_lookup key N/A found_in_lookup N/A N/A N/A excludes N/A found_in_lookup N/A N/A N/A excludes N/A found_in_lookup split , N/A N/A N/A N/A N/A queryset query can_filter N/A N/A ids N/A N/A i id N/A i queryset N/A containers N/A N/A N/A N/A N/A N/A queryset model objects filter id__in ids exclude excludes N/A N/A containers N/A N/A queryset exclude excludes N/A N/A child_class excludes N/A N/A bad_child_class N/A excludes N/A child_class N/A mirrors N/A N/A N/A N/A N/A Mirror objects filter container__child_class bad_child_class values_list id flat True N/A mirrors N/A N/A containers N/A N/A containers exclude pk__in mirrors N/A N/A N/A cache set cachekey containers N/A settings OPPS_CACHE_EXPIRE N/A containers N/A N/A register assignment_tag get_container_by_channel N/A N/A slug number depth include_children N/A 10 1 True kwargs N/A N/A box None N/A magic_date N/A N/A kwargs pop magic_date False N/A date N/A N/A timezone now N/A magic_date N/A N/A N/A N/A date N/A magicdate magic_date N/A N/A N/A Exception N/A N/A N/A splited N/A dict N/A N/A key N/A N/A value split , N/A N/A key value N/A N/A kwargs items N/A N/A N/A key endswith __in N/A N/A type value list N/A N/A N/A kwargs update splited N/A include_children N/A N/A k channel_id__in N/A N/A kwargs N/A k N/A N/A cache get N/A N/A get_container_by_channel-{0} format slug N/A N/A N/A kwargs N/A k N/A N/A N/A N/A channel N/A N/A N/A Channel objects get long_slug slug N/A qs N/A N/A channel get_descendants include_self True N/A qs N/A N/A qs filter level__lte N/A N/A channel level depth N/A N/A kwargs N/A k N/A N/A qs values_list id flat True N/A N/A N/A cache set N/A N/A get_container_by_channel-{0} format slug N/A kwargs N/A k N/A settings OPPS_CACHE_EXPIRE N/A N/A N/A N/A Channel DoesNotExist N/A N/A N/A kwargs N/A k N/A N/A N/A N/A N/A kwargs N/A site N/A settings SITE_ID N/A N/A settings OPPS_CONTAINERS_SITE_ID N/A N/A N/A kwargs N/A site N/A settings OPPS_CONTAINERS_SITE_ID N/A N/A kwargs N/A show_on_root_channel include_children N/A N/A kwargs N/A date_available__lte date N/A N/A kwargs N/A published True N/A box N/A N/A N/A N/A N/A N/A N/A N/A Container objects distinct filter kwargs order_by -date_available N/A number N/A N/A N/A N/A N/A box N/A N/A register assignment_tag get_containerbox_by N/A N/A N/A filters N/A N/A Return a list of containers filtered by given args N/A site N/A settings SITE_ID N/A N/A settings OPPS_CONTAINERS_SITE_ID N/A N/A site N/A settings OPPS_CONTAINERS_SITE_ID N/A N/A N/A N/A ContainerBox objects filter site site published True date_available__lte N/A N/A timezone now filters N/A N/A register assignment_tag get_containerbox_list N/A N/A context slug num template_name N/A 0 None N/A N/A  returns a list of sub-lists of the containerbox specific containers,
        the size of the sub lists is treated with a parameter num  N/A request N/A context N/A request N/A cachekey N/A N/A ContainerBoxList-{0}-{1}-{2} format slug template_name N/A request is_mobile N/A render N/A N/A cache get cachekey N/A render N/A N/A render N/A site N/A settings SITE_ID N/A N/A settings OPPS_CONTAINERS_SITE_ID N/A N/A site N/A settings OPPS_CONTAINERS_SITE_ID N/A N/A N/A box N/A N/A N/A ContainerBox objects filter site site slug slug date_available__lte N/A N/A timezone now published True N/A N/A N/A isinstance num int N/A num 0 box N/A N/A list_box N/A N/A N/A box N/A 0 ordered_box_containers N/A box N/A N/A list_box N/A i N/A i num N/A i N/A range 0 N/A len list_box num N/A N/A N/A N/A ContainerBox DoesNotExist N/A N/A box None N/A t N/A N/A N/A template loader get_template articles/articlebox_container_list.html N/A template_name N/A N/A t N/A N/A N/A template loader get_template template_name N/A render N/A N/A t render N/A N/A template Context N/A list_container slug context box slug context N/A N/A N/A cache set cachekey render N/A settings OPPS_CACHE_EXPIRE N/A render N/A N/A N/A register simple_tag takes_context True get_custom_field_value N/A N/A obj field_slug N/A N/A N/A 
    Return a custom field value
     N/A N/A N/A callable N/A getattr obj custom_fields N/A N/A None N/A N/A N/A N/A obj custom_fields N/A N/A None N/A N/A N/A N/A N/A obj custom_fields get field_slug N/A N/A register assignment_tag get_postrelated_by N/A N/A obj N/A filters N/A N/A Return a list of post related filtered by given args N/A N/A getattr obj postrelated_post False N/A N/A cachekey N/A N/A getpostrelatedby-{0}-{1} format N/A hash N/A frozenset N/A N/A filters items N/A obj pk N/A _cache N/A N/A cache get cachekey N/A _cache N/A N/A _cache N/A queryset N/A N/A N/A obj postrelated_post filter post__pk N/A obj pk N/A N/A exclude N/A N/A filters keys N/A N/A N/A filters N/A exclude N/A containers N/A N/A i related N/A i N/A N/A N/A N/A queryset exclude filters order_by order N/A N/A containers N/A N/A i related N/A i N/A N/A N/A N/A queryset filter filters order_by order N/A N/A N/A cache set cachekey containers N/A settings OPPS_CACHE_EXPIRE N/A containers N/A N/A N/A register assignment_tag