diff --git a/django_cotton/templatetags/_component.py b/django_cotton/templatetags/_component.py index 34585d6..48cc15f 100644 --- a/django_cotton/templatetags/_component.py +++ b/django_cotton/templatetags/_component.py @@ -18,7 +18,6 @@ def get_cached_template(template_name): def render_template(template_name, context): if settings.DEBUG: - print("non cached") return get_template(template_name).render(context) else: return get_cached_template(template_name).render(context) diff --git a/docs/docs_project/docs_project/templates/configuration.html b/docs/docs_project/docs_project/templates/configuration.html index 9cab244..65ca00b 100644 --- a/docs/docs_project/docs_project/templates/configuration.html +++ b/docs/docs_project/docs_project/templates/configuration.html @@ -3,7 +3,8 @@

Configuration

The following configuration can be provided in your `settings.py`:

-

COTTON_DIR: str (default: 'cotton')

+

COTTON_DIR

+

str (default: 'cotton')

Change the default path in your templates directory where cotton components can be placed, for example "components".