Skip to content

Commit

Permalink
escaping in template
Browse files Browse the repository at this point in the history
  • Loading branch information
why-not-try-calmer committed Sep 8, 2023
1 parent 957d7ee commit f207add
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions docker-app/qfieldcloud/core/models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import html
import logging
import os
import secrets
Expand Down Expand Up @@ -1651,10 +1650,6 @@ class Status(models.TextChoices):
max_length=64, default="", blank=True, db_index=True
)

@property
def escaped_output(self) -> str:
return html.escape(self.output)

@property
def short_id(self) -> str:
return str(self.id)[0:8]
Expand Down

0 comments on commit f207add

Please sign in to comment.