Private
Public Access
1
0

disqualification now with review and form

This commit is contained in:
Sander Roosendaal
2018-11-28 15:37:41 +01:00
parent a75b59519e
commit 774028497b
10 changed files with 385 additions and 32 deletions

View File

@@ -45,6 +45,8 @@ env = Environment(loader = FileSystemLoader(["rowers/templates"]))
from django.contrib.staticfiles import finders
def textify(html):
# Remove html tags and continuous whitespaces
text_only = re.sub('[ \t]+', ' ', strip_tags(html))