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
21efb5c0
Commit
21efb5c0
authored
Mar 28, 2016
by
Alvin Mites
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated logger warnings
parent
452f97f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pipeline/templatetags/pipeline.py
+2
-2
No files found.
pipeline/templatetags/pipeline.py
View file @
21efb5c0
...
...
@@ -98,7 +98,7 @@ class StylesheetNode(PipelineMixin, template.Node):
try
:
package
=
self
.
package_for
(
package_name
,
'css'
)
except
PackageNotFound
:
logger
.
warn
(
"Package
%
r is unknown. Check PIPELINE
_CSS
in your settings."
,
package_name
)
logger
.
warn
(
"Package
%
r is unknown. Check PIPELINE
['STYLESHEETS']
in your settings."
,
package_name
)
return
''
# fail silently, do not return anything if an invalid group is specified
return
self
.
render_compressed
(
package
,
package_name
,
'css'
)
...
...
@@ -131,7 +131,7 @@ class JavascriptNode(PipelineMixin, template.Node):
try
:
package
=
self
.
package_for
(
package_name
,
'js'
)
except
PackageNotFound
:
logger
.
warn
(
"Package
%
r is unknown. Check PIPELINE
_JS
in your settings."
,
package_name
)
logger
.
warn
(
"Package
%
r is unknown. Check PIPELINE
['JAVASCRIPT']
in your settings."
,
package_name
)
return
''
# fail silently, do not return anything if an invalid group is specified
return
self
.
render_compressed
(
package
,
package_name
,
'js'
)
...
...
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