mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-13 16:47:34 -06:00
Add strip method to ScriptVariable
This commit is contained in:
parent
8aacef60a3
commit
517cdf7c34
@ -80,6 +80,10 @@ class ScriptVariable:
|
||||
|
||||
return form_field
|
||||
|
||||
def strip(self):
|
||||
# Necessary for template tags/filters such as markdown
|
||||
...
|
||||
|
||||
|
||||
class StringVar(ScriptVariable):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user