diff --git a/openslides/projector/views.py b/openslides/projector/views.py index 330071105..9c1a44331 100644 --- a/openslides/projector/views.py +++ b/openslides/projector/views.py @@ -24,10 +24,6 @@ from utils.template import render_block_to_string from system import config -from agenda.api import is_summary, children_list, \ - del_confirm_form_for_items -from agenda.models import Item - from projector.api import get_active_slide diff --git a/openslides/utils/pdf.py b/openslides/utils/pdf.py index fe5d9f075..19caf6e37 100755 --- a/openslides/utils/pdf.py +++ b/openslides/utils/pdf.py @@ -33,7 +33,6 @@ from reportlab.pdfbase import pdfmetrics from reportlab.pdfbase.ttfonts import TTFont from openslides.agenda.models import Item -from openslides.agenda.api import children_list from openslides.application.models import Application from openslides.assignment.models import Assignment #from openslides.poll.models import Poll, Option @@ -231,7 +230,7 @@ def print_agenda(request): doc.title = _("Agenda") # print item list - items = children_list(Item.objects.filter(parent=None).order_by('weight')) + items = Item.objects.all() for item in items: if item.hidden is False: # print all items" diff --git a/openslides/utils/templatetags/devel.py b/openslides/utils/templatetags/devel.py deleted file mode 100644 index 06718237d..000000000 --- a/openslides/utils/templatetags/devel.py +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - -from django import template -from django.db import connection - -register = template.Library() - -@register.simple_tag -def queries(): - out = '' - for q in connection.queries: - out += "