File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,26 @@ For a manual install:
51
51
* run ``python manage.py migrate djangocms_file ``
52
52
53
53
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
+
54
74
Running Tests
55
75
-------------
56
76
You can’t perform that action at this time.
0 commit comments