We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am using django-redis as my cache backend:
CACHES = values.DictValue({ 'default': { 'BACKEND': 'django_redis.cache.RedisCache', 'OPTIONS': { 'CLIENT_CLASS': 'django_redis.client.DefaultClient', 'COMPRESSOR': 'django_redis.compressors.zlib.ZlibCompressor', 'SERIALIZER': 'django_redis.serializers.json.JSONSerializer', } } })
Trying to use the following piece of code:
if not flag_is_active(request, 'dashboard'): return redirect('product-list')
and tracing it down to waffle.models get method on line 36 (https://github.com/django-waffle/django-waffle/blob/51659117a25b97a59d96970a325c462499f33b15/waffle/models.py#L51)
waffle.models
Getting this error:
TypeError: Object of type FeatureFlag is not JSON serializable
Which makes sense. Any recommendation?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am using django-redis as my cache backend:
Trying to use the following piece of code:
and tracing it down to
waffle.models
get method on line 36 (https://github.com/django-waffle/django-waffle/blob/51659117a25b97a59d96970a325c462499f33b15/waffle/models.py#L51)Getting this error:
Which makes sense. Any recommendation?
The text was updated successfully, but these errors were encountered: