Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-pipeline
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-pipeline
Commits
349d5a8e
Commit
349d5a8e
authored
Sep 25, 2013
by
Michael Angeletti
Committed by
Timothée Peignier
Sep 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated usage docs to reflect the PIPELINE_ENABLED setting
parent
e22722e7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
docs/usage.rst
+9
-3
No files found.
docs/usage.rst
View file @
349d5a8e
...
@@ -16,9 +16,15 @@ They are used to output the ``<link>`` and ``<script>``-tags for the
...
@@ -16,9 +16,15 @@ They are used to output the ``<link>`` and ``<script>``-tags for the
specified CSS/JavaScript-groups (as specified in the settings).
specified CSS/JavaScript-groups (as specified in the settings).
The first argument must be the name of the CSS/JavaScript group.
The first argument must be the name of the CSS/JavaScript group.
The templatetags will either output the source filenames or the compressed filenames,
When ``settings.DEBUG`` is set to ``True`` the use of these template tags will
depending on the ``PIPELINE`` setting, if you do not specify the ``PIPELINE`` setting,
result in a separate tag for each resource in a given group (i.e., the
the source files will be used in DEBUG-mode, and compressed files in non-DEBUG-mode.
combined, compressed files will not be used), in order to make local debugging
easy. When ``settings.DEBUG`` is set to ``False`` the opposite is true. You can
override the default behavior by setting ``settings.PIPELINE_ENABLED``
manually. When set to ``True`` or ``False`` this enables or disables,
respectively, the usage of the combined, compressed file for each resource
group. This can be useful, if you encounter errors in your compressed code that
don't occur in your uncompressed code and you want to debug them locally.
If you need to change the output of the HTML-tags generated from the templatetags,
If you need to change the output of the HTML-tags generated from the templatetags,
this can be done by overriding the templates ``pipeline/css.html`` and ``pipeline/js.html``.
this can be done by overriding the templates ``pipeline/css.html`` and ``pipeline/js.html``.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment