mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00: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()
|