daenney/django-fields — comment on commit 56194c00091febfee4dae900c995d591ca501bb6
File: src/django_fields/fields.py line 17
By svetlyak40wt:

The better way to check here, using `hasattr`:

if hasattr(settings, 'USE_CPICKLE'):
warnings.warn...