From 90d2af8005c82e005ca5957dd573def4c6cbdc05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bedna=C5=99=C3=ADk?= <jan.bednarik@gmail.com> Date: Tue, 2 May 2023 15:16:23 +0200 Subject: [PATCH] uniweb: Fix imports --- uniweb/models.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/uniweb/models.py b/uniweb/models.py index e68eb96c..19f651fd 100644 --- a/uniweb/models.py +++ b/uniweb/models.py @@ -1,3 +1,5 @@ +import random + from captcha.fields import CaptchaField from django import forms from django.core.paginator import Paginator @@ -31,14 +33,10 @@ from shared.models import ( ExtendedMetadataPageMixin, SubpageMixin, ) -from shared.utils import make_promote_panels +from shared.utils import make_promote_panels, strip_all_html_tags, trim_to_length from tuning import admin_help -from .blocks import ( - PersonCustomPositionBlock, - PeopleGroupListBlock, - PersonUrlBlock, -) +from .blocks import PeopleGroupListBlock, PersonUrlBlock from .constants import ( ALIGN_CHOICES, ALIGN_CSS, -- GitLab