Skip to content

Commit

Permalink
Merge pull request #152 from bckohan/v3.0.0
Browse files Browse the repository at this point in the history
fix configuration example in docs
  • Loading branch information
bckohan committed Jul 3, 2024
2 parents 031e8d6 + dc81b35 commit 2751518
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/source/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ settings:
.. code-block:: python
STATIC_TEMPLATES = {
'ENGINES': [
'ENGINES': [{
'BACKEND': 'render_static.backends.StaticDjangoTemplates',
'DIRS': [BASE_DIR / 'tmpls' ], # look here for templates
'OPTIONS': {
Expand All @@ -23,11 +23,11 @@ settings:
],
'builtins': ['render_static.templatetags.render_static']
},
],
}],
'context': {
# define a global context dictionary that will be used to render all templates
},
'templates' [
'templates': [
('app/js/defines.js', {
'context': {
'defines': 'app.defines.DefinesClass'
Expand Down

0 comments on commit 2751518

Please sign in to comment.