mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-12-03 13:44:20 +01:00
feat: presets
This commit is contained in:
1 parent
16fbead2f9
commit
cabd03e7e6
12 files changed
+223
-12
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import json
|
||||
|
||||
from django import template
|
||||
|
||||
|
||||
register = template.Library()
|
||||
|
||||
|
||||
@register.filter("json")
|
||||
def convert_to_json(value):
|
||||
return json.dumps(value)
|
||||
Reference in new issue
Block a user