I currently have a feature that is accessed by a button in the Django admin interface, like so:
{% switch "some_feature_switch" %}
Some feature button in HTML page
{% endswitch %}
I get an error when trying to use this in our staging environment (but not dev), I assume because our staging environment uses Redis for caching and I get an error along the lines of:
TypeError: Object switch is not JSON serializable
Are there any workarounds people know of for this?
I currently have a feature that is accessed by a button in the Django admin interface, like so:
I get an error when trying to use this in our staging environment (but not dev), I assume because our staging environment uses Redis for caching and I get an error along the lines of:
TypeError: Object switch is not JSON serializable
Are there any workarounds people know of for this?