Module ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias Assign NameStore Str Assign NameStore Dict ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore Str Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body If CompareNotIn Str NameLoad body Raise NameLoad If CompareIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr If NameLoad body Return NameLoad Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr If SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr Dict Str SubscriptLoad NameLoad Index Str Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return Call NameLoad NameLoad keyword SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body AugAssignAdd NameStore NameLoad Return Call NameLoad NameLoad keyword NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr keyword AttributeLoad SubscriptLoad NameLoad Index Str attr keyword NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str If NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body Return NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad SubscriptLoad NameLoad Index Str attr keyword NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body If NameLoad body Raise Call NameLoad BinOpMod Str NameLoad orelse Assign NameStore NameLoad If NameLoad body Assign NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore BinOpAdd NameLoad Call NameLoad keyword Num Assign NameStore Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad keyword NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body If AttributeLoad AttributeLoad NameLoad attr attr body TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise NameLoad orelse Raise NameLoad orelse Assign NameStore Call NameLoad NameLoad keyword NameLoad If UnaryOpNot BoolOpOr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Raise NameLoad If UnaryOpNot NameLoad body If CompareIs NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad orelse If UnaryOpNot AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad orelse If CompareNotEq NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad orelse If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str NameLoad NameLoad Call NameLoad AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler type AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad Dict AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad TryExcept body Assign NameStore AttributeLoad SubscriptLoad SubscriptLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad attr Str Index Num Index Str attr handlers ExceptHandler body Assign NameStore AttributeLoad NameLoad attr Return NameLoad decorator_list Call NameLoad NameLoad keyword BinOpMult BinOpMult Num Num Num FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body If BoolOpAnd CompareIs AttributeLoad NameLoad attr NameLoad UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr Raise Call NameLoad BinOpMod Call NameLoad Str Dict Str Str NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore BoolOpAnd BoolOpOr CompareIs NameLoad NameLoad BoolOpAnd UnaryOpNot NameLoad CompareEq NameLoad Num UnaryOpNot NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Num Assign NameStore Dict Str AttributeLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str orelse Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If NameLoad body TryExcept body Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str TupleLoad NameLoad BinOpAdd NameLoad Call NameLoad keyword BinOpSub BinOpMult Num Num Num handlers ExceptHandler type TupleLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Call NameLoad Str NameLoad orelse If NameLoad body TryExcept body Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Num Assign SubscriptStore NameLoad Index Str TupleLoad NameLoad BinOpSub Call AttributeLoad BinOpAdd NameLoad Call NameLoad keyword Num attr keyword Num Call NameLoad keyword Num handlers ExceptHandler type TupleLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Call NameLoad Str NameLoad orelse If NameLoad body TryExcept body Assign NameStore Call NameLoad Call NameLoad NameLoad Num Num Assign SubscriptStore NameLoad Index Str TupleLoad NameLoad BinOpSub Call AttributeLoad BinOpAdd NameLoad Call NameLoad keyword Num attr keyword Num Call NameLoad keyword Num handlers ExceptHandler type TupleLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Call NameLoad Str NameLoad If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Str Str Str NameLoad BoolOpAnd NameLoad UnaryOpNot AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore NameStore NameStore Call NameLoad FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body For NameStore Call AttributeLoad NameLoad attr body If CompareEq NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Break orelse Raise NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str For NameStore Call NameLoad Call NameLoad Num BinOpAdd Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Dict Str Call AttributeLoad Str attr SubscriptLoad NameLoad Slice NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Assign NameStore Dict Str NameLoad If BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str NameLoad If NameLoad body If BoolOpAnd NameLoad NameLoad body If NameLoad body AugAssignAdd NameStore Call NameLoad NameLoad NameLoad NameLoad AugAssignAdd NameStore Call NameLoad NameLoad NameLoad NameLoad AugAssignAdd NameStore Call NameLoad NameLoad NameLoad NameLoad If BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad body Expr Str Assign NameStore ListLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Return Call NameLoad NameLoad NameLoad Dict Str Str NameLoad NameLoad keyword NameLoad decorator_list Call NameLoad NameLoad keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Dict Assign AttributeStore NameLoad attr Num Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Dict Assign AttributeStore NameLoad attr Num Return Call AttributeLoad NameLoad attr decorator_list
N/A datetime datetime timedelta django.conf settings django.contrib.contenttypes.models ContentType django.db models django.http Http404 django.shortcuts redirect render django.template.defaultfilters slugify django.template.response TemplateResponse django.utils.translation ugettext_lazy _ django.views.generic.list ListView ella.core.models Listing Category Publishable Author ella.core.cache get_cached_object_or_404 cache_this get_cached_object ella.core custom_urls ella.core.conf core_settings ella.core.signals object_rendering object_rendered ella.api render_as_api ella.utils.timezone now localize N/A __docformat__ restructuredtext en N/A CONTENT_TYPE_MAPPING N/A AuthorView N/A ListView N/A N/A model Publishable N/A context_object_name listings N/A allow_empty True N/A paginate_by N/A core_settings CATEGORY_LISTINGS_PAGINATE_BY N/A template_name page/author.html get N/A N/A self request N/A args kwargs N/A N/A N/A slug kwargs N/A N/A Http404 N/A N/A p N/A request GET N/A N/A N/A N/A N/A self kwargs update N/A page N/A N/A request GET N/A p N/A N/A self author N/A get_cached_object_or_404 Author slug N/A kwargs N/A slug N/A response N/A render_as_api request N/A self author N/A response N/A N/A response N/A N/A N/A N/A super AuthorView self get request args kwargs N/A get_queryset N/A N/A self N/A N/A N/A N/A N/A N/A self author recently_published N/A get_context_data N/A N/A self N/A kwargs N/A N/A base N/A N/A N/A super AuthorView self get_context_data kwargs N/A N/A N/A base update N/A object N/A self author N/A N/A base N/A page_obj N/A N/A N/A N/A base update N/A page N/A base N/A page_obj N/A base N/A N/A EllaCoreView N/A object N/A N/A  Base class for class-based views used in ella.core.views.  N/A template_name TEMPLATE get_context N/A N/A self request N/A kwargs N/A N/A 
        Return a dictionary that will be then passed into the template as context.

        :Parameters:
            - `request`: current request

        :Returns:
            Dictionary with all the data
         N/A N/A NotImplementedError N/A get_templates N/A N/A self context template_name N/A None N/A N/A  Extract parameters for `get_templates` from the context.  N/A N/A template_name N/A N/A template_name N/A self template_name N/A kw N/A N/A N/A object context N/A N/A o N/A context N/A object N/A N/A kw N/A slug N/A o slug N/A N/A N/A context get content_type False N/A N/A ct N/A context N/A content_type N/A N/A kw N/A app_label N/A ct app_label N/A N/A kw N/A model_label N/A ct model N/A N/A get_templates template_name category N/A context N/A category kw N/A render N/A N/A self request context template N/A N/A N/A N/A TemplateResponse request template context N/A __call__ N/A N/A self request N/A kwargs N/A N/A context N/A N/A self get_context request kwargs N/A N/A N/A self render request context N/A N/A self get_templates context N/A N/A ObjectDetail N/A EllaCoreView N/A N/A 
    Renders a page for publishable.  If ``url_remainder`` is specified, tries to
    locate custom view via :meth:`DetailDispatcher.call_view`. If
    :meth:`DetailDispatcher.has_custom_detail` returns ``True``, calls
    :meth:`DetailDispatcher.call_custom_detail`. Otherwise renders a template
    with context containing:

    * object: ``Publishable`` instance representing the URL accessed
    * category: ``Category`` of the ``object``
    * content_type_name: slugified plural verbose name of the publishable's content type
    * content_type: ``ContentType`` of the publishable

    The template is chosen based on the object in question (the first one that matches is used):

    * ``page/category/<tree_path>/content_type/<app>.<model>/<slug>/object.html``
    * ``page/category/<tree_path>/content_type/<app>.<model>/object.html``
    * ``page/category/<tree_path>/object.html``
    * ``page/content_type/<app>.<model>/object.html``
    * ``page/object.html``

    :param request: ``HttpRequest`` from Django
    :param category: ``Category.tree_path`` (empty if home category)
    :param year month day: date matching the `publish_from` field of the `Publishable` object
    :param slug: slug of the `Publishable`
    :param url_remainder: url after the object's url, used to locate custom views in `custom_urls.resolver`

    :raises Http404: if the URL is not valid and/or doesn't correspond to any valid `Publishable`
     N/A template_name object.html WrongUrl N/A Http404 N/A N/A N/A __call__ N/A N/A self request category slug year month day id url_remainder N/A None None None None None N/A N/A N/A N/A context N/A N/A self get_context request category slug year month day id N/A N/A N/A N/A self WrongUrl N/A e N/A N/A N/A message obj N/A e args N/A url N/A N/A obj get_absolute_url N/A url_remainder N/A N/A url url_remainder N/A N/A redirect url permanent True N/A obj N/A context N/A object N/A N/A N/A object_rendering send sender N/A N/A context N/A object __class__ request request category N/A context N/A category publishable N/A context N/A object N/A url_remainder N/A N/A N/A N/A N/A custom_urls resolver call_custom_view request obj url_remainder context N/A response N/A render_as_api request obj N/A response N/A N/A response N/A N/A N/A N/A custom_urls resolver has_custom_detail obj N/A N/A N/A N/A N/A custom_urls resolver call_custom_detail request context N/A N/A N/A object_rendered send sender N/A N/A context N/A object __class__ request request category N/A context N/A category publishable N/A context N/A object N/A N/A N/A self render request context N/A N/A self get_templates context N/A get_context N/A N/A self request category slug year month day id N/A N/A N/A N/A N/A cat N/A N/A N/A Category objects get_by_tree_path category N/A N/A N/A N/A Category DoesNotExist N/A N/A year N/A N/A N/A Http404 N/A Category with tree_path '%s' doesn't exist. category N/A N/A cat None N/A year N/A N/A start_date N/A localize N/A datetime N/A int year N/A int month N/A int day N/A end_date N/A start_date N/A timedelta days 1 N/A lookup N/A publish_from__gte publish_from__lt category slug static start_date end_date cat slug False N/A N/A N/A publishable N/A get_cached_object Publishable published True lookup N/A N/A N/A N/A Publishable DoesNotExist N/A N/A N/A N/A request user is_staff N/A N/A N/A N/A p N/A N/A N/A N/A Publishable objects filter published False lookup N/A 0 N/A publishable N/A N/A N/A N/A N/A N/A p content_type model_class _default_manager get pk N/A p pk N/A N/A N/A IndexError N/A N/A Http404 N/A N/A Http404 N/A N/A publishable N/A get_cached_object_or_404 Publishable pk id N/A N/A N/A N/A N/A publishable is_published N/A N/A request user is_staff N/A N/A Http404 N/A N/A year N/A N/A N/A cat None N/A N/A N/A N/A self WrongUrl N/A Category with tree_path %r does not exist. category publishable N/A N/A N/A N/A publishable static N/A N/A N/A N/A self WrongUrl N/A %s is not static. publishable publishable N/A N/A N/A slug N/A publishable slug N/A N/A N/A N/A self WrongUrl N/A Wrong slug in URL (%r). slug publishable N/A N/A N/A N/A publishable category_id N/A cat pk N/A N/A N/A N/A self WrongUrl N/A Wrong category for %s. publishable publishable N/A N/A publishable category cat N/A context N/A object category content_type_name content_type publishable cat N/A slugify N/A N/A N/A N/A N/A publishable content_type model_class _meta verbose_name_plural N/A publishable content_type N/A context N/A N/A archive_year_cache_key N/A N/A self category N/A N/A N/A N/A core.archive_year:%d N/A category pk N/A ListContentType N/A EllaCoreView N/A N/A 
    List objects' listings according to the parameters. If no filtering is
    applied (including pagination), the category's title page is rendered. The
    template used depends on ``template`` attribute for category being rendered.
    Default template is ``category.html``, so it would look like this:

    * ``page/category/<tree_path>/category.html``
    * ``page/category.html``

    If custom template is selected, let's say ``static_page.html``, it would
    result in:

    * ``page/category/<tree_path>/static_page.html``
    * ``page/static_page.html``

    If filtering is active, an archive template gets rendered:

    * ``page/category/<tree_path>/content_type/<app>.<model>/listing.html``
    * ``page/category/<tree_path>/listing.html``
    * ``page/content_type/<app>.<model>/listing.html``
    * ``page/listing.html``

    The context contains:

    * ``category``
    * ``listings``: list of ``Listing`` objects ordered by date

    * ``page``: ``django.core.paginator.Page`` instance
    * ``is_paginated``: ``True`` if there are more pages
    * ``results_per_page``: number of objects on one page

    * ``content_type``: ``ContentType`` of the objects, if filtered on content type
    * ``content_type_name``: name of the objects' type, if filtered on content type


    :param category: ``tree_path`` of the ``Category``, root category is used if empty
    :param year, month, day: date matching the ``publish_from`` field of the ``Listing`` object.
    :param content_type: slugified verbose_name_plural of the target model, if omitted all content_types are listed
    :param page_no: which page to display

    All parameters are optional, filtering is done on those supplied

    :raises Http404: if the specified category or content_type does not exist or if the given date is malformed.
     N/A empty_homepage_template_name debug/empty_homepage.html EmptyHomepageException N/A Exception N/A N/A N/A __call__ N/A N/A self request N/A kwargs N/A N/A N/A N/A cat N/A N/A self get_category request N/A N/A kwargs pop category N/A N/A N/A N/A self EmptyHomepageException N/A N/A N/A N/A self render request N/A N/A self empty_homepage_template_name N/A N/A N/A object_rendering send sender Category request request category cat publishable None N/A N/A N/A object_rendered send sender Category request request category cat publishable None N/A response N/A render_as_api request cat N/A response N/A N/A response N/A context N/A N/A self get_context request cat kwargs N/A N/A N/A N/A custom_urls resolver has_custom_detail cat N/A N/A N/A context N/A object cat N/A N/A N/A N/A custom_urls resolver call_custom_detail request context N/A template_name N/A cat template N/A archive_template N/A N/A N/A cat app_data ella archive_template N/A N/A archive_template N/A N/A N/A context get is_title_page N/A N/A template_name archive_template N/A N/A N/A self render request context N/A N/A self get_templates context template_name N/A _archive_entry_year N/A N/A self category N/A N/A N/A  Return ARCHIVE_ENTRY_YEAR from settings (if exists) or year of the newest object in category  N/A year N/A getattr settings ARCHIVE_ENTRY_YEAR None N/A N/A year N/A N/A n N/A now N/A N/A N/A year N/A N/A N/A N/A N/A N/A N/A N/A Listing objects filter category__site__id N/A settings SITE_ID category__tree_path__startswith N/A category tree_path publish_from__lte n values publish_from N/A 0 N/A publish_from year N/A N/A N/A N/A year N/A n year N/A year N/A N/A cache_this archive_year_cache_key timeout N/A N/A 60 60 24 get_category N/A N/A self request category_path N/A N/A N/A N/A N/A cat N/A N/A N/A Category objects get_by_tree_path category_path N/A N/A N/A N/A Category DoesNotExist N/A N/A N/A N/A N/A settings DEBUG True N/A category_path N/A N/A N/A N/A self EmptyHomepageException N/A N/A Http404 N/A N/A _ Category with tree path %(path)r does not exist on site %(site)s N/A path site category_path N/A settings SITE_ID N/A cat N/A get_context N/A N/A self request category year month day N/A None None None N/A N/A ella_data N/A N/A category app_data ella N/A no_home_listings N/A ella_data no_home_listings N/A page_no None N/A N/A N/A p N/A request GET N/A N/A N/A N/A request GET N/A p isdigit N/A N/A page_no N/A int N/A N/A request GET N/A p N/A category_title_page N/A N/A N/A page_no None N/A N/A no_home_listings N/A page_no 1 N/A year N/A N/A page_no None N/A N/A page_no 1 N/A kwa N/A children N/A ella_data child_behavior N/A N/A using N/A request GET N/A N/A N/A kwa N/A source N/A N/A request GET N/A using N/A N/A N/A kwa N/A source N/A ella_data listing_handler N/A day N/A N/A N/A N/A start_day N/A datetime N/A int year N/A int month N/A int day N/A N/A kwa N/A date_range N/A start_day N/A start_day N/A timedelta seconds N/A N/A 24 3600 1 N/A N/A N/A N/A ValueError OverflowError N/A N/A N/A Http404 N/A N/A _ Invalid day value %r day N/A N/A month N/A N/A N/A N/A start_day N/A datetime N/A int year N/A int month 1 N/A N/A kwa N/A date_range N/A start_day N/A N/A N/A N/A start_day N/A timedelta days 32 replace day 1 N/A timedelta seconds 1 N/A N/A N/A N/A ValueError OverflowError N/A N/A N/A Http404 N/A N/A _ Invalid month value %r month N/A N/A year N/A N/A N/A N/A start_day N/A datetime N/A int year 1 1 N/A N/A kwa N/A date_range N/A start_day N/A N/A N/A N/A start_day N/A timedelta days 370 replace day 1 N/A timedelta seconds 1 N/A N/A N/A N/A ValueError OverflowError N/A N/A N/A Http404 N/A N/A _ Invalid year value %r year N/A N/A date_range kwa N/A N/A N/A kwa N/A date_range N/A tuple N/A map localize N/A kwa N/A date_range N/A context N/A category is_homepage is_title_page archive_entry_year category N/A category_title_page N/A N/A category tree_parent_id category_title_page N/A N/A N/A N/A N/A N/A self _archive_entry_year category N/A N/A category_title_page no_home_listings N/A N/A context N/A page N/A N/A ella_data get_listings_page page_no kwa N/A N/A N/A context update N/A is_paginated results_per_page page listings N/A N/A page has_other_pages N/A N/A page paginator per_page page N/A page object_list N/A context N/A N/A N/A object_detail N/A ObjectDetail N/A home category_detail list_content_type N/A ListContentType get_content_type N/A N/A ct_name N/A N/A N/A 
    A helper function that returns ContentType object based on its slugified verbose_name_plural.

    Results of this function is cached to improve performance.

    :Parameters:
        - `ct_name`:  Slugified verbose_name_plural of the target model.

    :Exceptions:
        - `Http404`: if no matching ContentType is found
     N/A N/A N/A ct N/A CONTENT_TYPE_MAPPING N/A ct_name N/A N/A N/A KeyError N/A N/A model N/A N/A models get_models N/A N/A N/A ct_name N/A slugify N/A N/A model _meta verbose_name_plural N/A N/A ct N/A N/A N/A ContentType objects get_for_model model N/A N/A CONTENT_TYPE_MAPPING N/A ct_name ct N/A N/A N/A Http404 N/A ct N/A get_templates N/A N/A name slug category app_label model_label N/A None None None None N/A N/A 
    Returns templates in following format and order:

    * ``'page/category/%s/content_type/%s.%s/%s/%s' % (<CATEGORY_PART>, app_label, model_label, slug, name)``
    * ``'page/category/%s/content_type/%s.%s/%s' % (<CATEGORY_PART>, app_label, model_label, name)``
    * ``'page/category/%s/%s' % (<CATEGORY_PART>, name)``
    * ``'page/content_type/%s.%s/%s' % (app_label, model_label, name)``
    * ``'page/%s' % name``

    Where ``<CATEGORY_PART>`` is derived from ``path`` attribute by these rules:

    * When **no** parent exists (this is therfore root category) ``<CATEGORY_PART> = path``
    * When exactly **one** parent exists: ``<CATEGORY_PART> = path``
    * When multiple parent exist (category nestedN is deep in the tree)::

          <CATEGORY_PART> = (
              'nested1/nested2/../nestedN/',
              'nested1/nested2/../nestedN-1/',
              ...
              'nested1'
          )

    Examples. Three categories exist having slugs **ROOT**, **NESTED1**,
    **NESTED2** where **NESTED2**'s parent is **NESTED1**.::

        ROOT
                    NESTED1
                         NESTED2

    * For **ROOT**, ``<CATEGORY_PART>`` is only one - "ROOT".
    * For **NESTED1**, ``<CATEGORY_PART>`` is only one - "NESTED1".
    * For **NESTED2**, ``<CATEGORY_PART>`` has two elements: "NESTED1/NESTED2" and "NESTED1".
     category_templates N/A N/A category incomplete_template params N/A N/A N/A paths N/A N/A parts N/A N/A N/A category path split / N/A i N/A reversed N/A range 1 N/A N/A len parts 1 N/A N/A N/A N/A params update N/A pth N/A N/A / join N/A parts N/A i N/A N/A N/A paths append N/A incomplete_template params N/A paths N/A N/A FULL page/category/%(pth)s/content_type/%(app_label)s.%(model_label)s/%(slug)s/%(name)s N/A FULL_NO_SLUG page/category/%(pth)s/content_type/%(app_label)s.%(model_label)s/%(name)s N/A BY_CATEGORY page/category/%(pth)s/%(name)s N/A BY_CONTENT_TYPE page/content_type/%(app_label)s.%(model_label)s/%(name)s N/A templates N/A N/A params N/A name name N/A N/A app_label model_label N/A N/A N/A N/A params update N/A app_label model_label app_label model_label N/A slug N/A N/A N/A N/A params update N/A slug slug N/A category N/A N/A N/A app_label model_label N/A N/A slug N/A N/A templates N/A category_templates category FULL params N/A templates N/A category_templates category FULL_NO_SLUG params N/A templates N/A category_templates category BY_CATEGORY params N/A N/A app_label model_label N/A N/A N/A N/A templates append N/A BY_CONTENT_TYPE params N/A N/A N/A templates append N/A page/%(name)s params N/A templates N/A get_templates_from_publishable N/A N/A name publishable N/A N/A N/A 
    Returns the same template list as `get_templates` but gets values from `Publishable` instance.
     N/A slug N/A publishable slug N/A category N/A publishable category N/A app_label N/A N/A publishable content_type app_label N/A model_label N/A N/A publishable content_type model N/A N/A get_templates name slug category app_label model_label N/A get_export_key N/A N/A request count name content_type N/A None N/A N/A N/A core.export:%d:%d:%s:%s N/A N/A settings SITE_ID count name content_type N/A export N/A N/A request count name content_type N/A None N/A N/A 
    Export banners.

    :Parameters:
        - `count`: number of objects to pass into the template
        - `name`: name of the template ( page/export/banner.html is default )
        - `models`: list of Model classes to include
     N/A t_list N/A N/A name N/A N/A N/A N/A t_list append N/A page/export/%s.html name N/A N/A N/A t_list append page/export/banner.html N/A N/A N/A cat N/A N/A N/A Category objects get_by_tree_path N/A N/A N/A N/A Category DoesNotExist N/A N/A N/A Http404 N/A listing N/A N/A N/A Listing objects get_listing count count category cat N/A N/A render request t_list N/A category listing cat listing content_type content_type N/A N/A cache_this get_export_key timeout N/A core_settings CACHE_TIMEOUT_LONG page_not_found N/A N/A request N/A N/A N/A response N/A TemplateResponse request page/404.html N/A N/A N/A response status_code 404 N/A N/A N/A response render N/A handle_error N/A N/A request N/A N/A N/A response N/A TemplateResponse request page/500.html N/A N/A N/A response status_code 500 N/A N/A N/A response render N/A