How to use the feincms.views.decorators.add_page_to_extra_context function in FeinCMS

To help you get started, we’ve selected a few FeinCMS examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github feincms / feincms / feincms / views / generic / date_based.py View on Github external
from django.views.generic import date_based
from feincms.views.decorators import add_page_to_extra_context


archive_index = add_page_to_extra_context(date_based.archive_index)
archive_year = add_page_to_extra_context(date_based.archive_year)
archive_month = add_page_to_extra_context(date_based.archive_month)
archive_week = add_page_to_extra_context(date_based.archive_week)
archive_day = add_page_to_extra_context(date_based.archive_day)
archive_today = add_page_to_extra_context(date_based.archive_today)
object_detail = add_page_to_extra_context(date_based.object_detail)
github feincms / feincms / feincms / views / generic / list_detail.py View on Github external
from django.views.generic import list_detail
from feincms.views.decorators import add_page_to_extra_context


object_list = add_page_to_extra_context(list_detail.object_list)
object_detail = add_page_to_extra_context(list_detail.object_detail)
github feincms / feincms / feincms / views / generic / create_update.py View on Github external
from django.views.generic import create_update
from feincms.views.decorators import add_page_to_extra_context


create_object = add_page_to_extra_context(create_update.create_object)
update_object = add_page_to_extra_context(create_update.update_object)
delete_object = add_page_to_extra_context(create_update.delete_object)
github feincms / feincms / feincms / views / generic / create_update.py View on Github external
from django.views.generic import create_update
from feincms.views.decorators import add_page_to_extra_context


create_object = add_page_to_extra_context(create_update.create_object)
update_object = add_page_to_extra_context(create_update.update_object)
delete_object = add_page_to_extra_context(create_update.delete_object)
github feincms / feincms / feincms / views / generic / simple.py View on Github external
from django.views.generic import simple
from feincms.views.decorators import add_page_to_extra_context


direct_to_template = add_page_to_extra_context(simple.direct_to_template)
github matthiask / django-content-editor / feincms / views / generic / list_detail.py View on Github external
from django.views.generic import list_detail
from feincms.views.decorators import add_page_to_extra_context


object_list = add_page_to_extra_context(list_detail.object_list)
object_detail = add_page_to_extra_context(list_detail.object_detail)
github feincms / feincms / feincms / views / generic / create_update.py View on Github external
from django.views.generic import create_update
from feincms.views.decorators import add_page_to_extra_context


create_object = add_page_to_extra_context(create_update.create_object)
update_object = add_page_to_extra_context(create_update.update_object)
delete_object = add_page_to_extra_context(create_update.delete_object)
github matthiask / django-content-editor / feincms / views / generic / date_based.py View on Github external
from django.views.generic import date_based
from feincms.views.decorators import add_page_to_extra_context


archive_index = add_page_to_extra_context(date_based.archive_index)
archive_year = add_page_to_extra_context(date_based.archive_year)
archive_month = add_page_to_extra_context(date_based.archive_month)
archive_week = add_page_to_extra_context(date_based.archive_week)
archive_day = add_page_to_extra_context(date_based.archive_day)
archive_today = add_page_to_extra_context(date_based.archive_today)
object_detail = add_page_to_extra_context(date_based.object_detail)
github matthiask / django-content-editor / feincms / views / generic / create_update.py View on Github external
from django.views.generic import create_update
from feincms.views.decorators import add_page_to_extra_context


create_object = add_page_to_extra_context(create_update.create_object)
update_object = add_page_to_extra_context(create_update.update_object)
delete_object = add_page_to_extra_context(create_update.delete_object)
github feincms / feincms / feincms / views / generic / date_based.py View on Github external
from django.views.generic import date_based
from feincms.views.decorators import add_page_to_extra_context


archive_index = add_page_to_extra_context(date_based.archive_index)
archive_year = add_page_to_extra_context(date_based.archive_year)
archive_month = add_page_to_extra_context(date_based.archive_month)
archive_week = add_page_to_extra_context(date_based.archive_week)
archive_day = add_page_to_extra_context(date_based.archive_day)
archive_today = add_page_to_extra_context(date_based.archive_today)
object_detail = add_page_to_extra_context(date_based.object_detail)