mirror of
https://github.com/bugsink/bugsink.git
synced 2025-12-20 20:41:01 -06:00
8 lines
136 B
Python
8 lines
136 B
Python
from django.utils.encoding import smart_str
|
|
|
|
|
|
def strip(value):
|
|
if not value:
|
|
return ""
|
|
return smart_str(value).strip()
|