diff --git a/uniweb/models.py b/uniweb/models.py index e68eb96c9918f7090a39b255b5adfbb71338d39d..19f651fd03ac92ad1710f5f318fb274764ccdc0a 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,