The following configuration can be provided in your settings.py:
COTTON_DIR
COTTON_BASE_DIR
BASE_DIR generated by `django-admin startproject` is used as a fallback, if it exists.
COTTON_SNAKE_CASED_NAMES
False.<c-my-button />
True (default)cotton/my_button.html
Falsecotton/my-button.html
COTTON_ISOLATE_BY_DEFAULT
True, every component is rendered with Smart Isolation: it cannot see variables from the surrounding parent template (preventing accidental context leaks), but it does still receive global context-processor output such as request, user, messages, perms and any of your own custom processors.only flag to an individual component.COTTON_ENABLE_CONTEXT_ISOLATION flag, which continues to work but emits a DeprecationWarning.