Skip to content

Instantly share code, notes, and snippets.

@singingwolfboy
Created May 20, 2014 17:12
Show Gist options
  • Save singingwolfboy/5c25b05a5824b7149f80 to your computer and use it in GitHub Desktop.
Save singingwolfboy/5c25b05a5824b7149f80 to your computer and use it in GitHub Desktop.
<%! from django.utils.translation import ugettext as _ %>
<%namespace name='static' file='/static_content.html'/>
<%static:css group='style-vendor-tinymce-content'/>
<%static:css group='style-vendor-tinymce-skin'/>
no quotes: ${static.url('js/vendor/tinymce/js/tinymce/tinymce.full.min.js')}
<br>
single quotes: '${static.url("js/vendor/tinymce/js/tinymce/tinymce.full.min.js")}'
<br>
double quotes: "${static.url('js/vendor/tinymce/js/tinymce/tinymce.full.min.js')}"
<br>
<script type="text/javascript" src=${static.url('js/vendor/tinymce/js/tinymce/tinymce.full.min.js')} />
<script type="text/javascript" src="${static.url('js/vendor/tinymce/js/tinymce/jquery.tinymce.min.js')}" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment