Skip to content

Commit 74cf4df

Browse files
committed
Update docs
1 parent 220a44a commit 74cf4df

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/source/tutorial/template_components.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,21 @@ Hero component
5252
==============
5353

5454
``djangocms-frontend`` allows developers to extend its functionality by creating
55-
template components**. In this tutorial, we will create an **Hero component**
55+
**template components**. In this tutorial, we will create an **Hero component**
5656
with the following fields:
5757

5858
- ``title``: A required text field.
5959
- ``slogan``: A required text area field.
6060
- ``hero_image``: A required image field.
6161

62-
This component will be stored in a template directory named ``<app_name>/cms_components``,
63-
as required for ``djangocms-frontend`` template components.
62+
This component will be stored in a template directory named ``<app_name>/cms_components``
63+
(or any subdirectory thereof).
64+
65+
.. note::
66+
You can change the location of your template components inside your template directory
67+
by setting the :attr:`DJANGOCMS_FRONTEND_COMPONENT_FOLDER` setting. The default is
68+
``cms_components``. If you change it, you need to adjust the directory structure accordingly.
69+
6470

6571
Directory Structure
6672
-------------------

0 commit comments

Comments
 (0)