Skip to content

Commit 8694ae3

Browse files
committed
adapted readme
1 parent 26325e3 commit 8694ae3

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,26 @@ For a manual install:
5151
* run ``python manage.py migrate djangocms_file``
5252

5353

54+
Configuration
55+
-------------
56+
57+
Note that the provided templates are very minimal by design. You are encouraged
58+
to adapt and override them to your project's requirements.
59+
60+
This addon provides a ``default`` template for all instances. You can provide
61+
additional template choices by adding a ``DJANGOCMS_FILE_TEMPLATES``
62+
setting::
63+
64+
DJANGOCMS_FILE_TEMPLATES = [
65+
('feature', _('Featured Version')),
66+
]
67+
68+
You'll need to create the `feature` folder inside ``templates/djangocms_file/``
69+
otherwise you will get a *template does not exist* error. You can do this by
70+
copying the ``default`` folder inside that directory and renaming it to
71+
``feature``.
72+
73+
5474
Running Tests
5575
-------------
5676

0 commit comments

Comments
 (0)