Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
radiopanik
panikdb
Commits
ed999187
Commit
ed999187
authored
Mar 21, 2015
by
fred
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
manually include select2 script/css in head
parent
81677488
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
panikdb/settings.py
panikdb/settings.py
+1
-0
panikdb/templates/combo/manager_base.html
panikdb/templates/combo/manager_base.html
+2
-1
No files found.
panikdb/settings.py
View file @
ed999187
...
...
@@ -230,6 +230,7 @@ COMBO_PUBLIC_TEMPLATES = {
},
}
AUTO_RENDER_SELECT2_STATICS
=
False
try
:
from
local_settings
import
*
...
...
panikdb/templates/combo/manager_base.html
View file @
ed999187
{% extends "base.html" %}
{% load static %}
{% load static
django_select2_tags
%}
{% block extrascripts %}
<script
src=
"{% static "
ckeditor
/
ckeditor
/
ckeditor.js
"
%}"
></script>
...
...
@@ -7,6 +7,7 @@
<script
src=
"{% static "
js
/
combo.manager.js
"
%}"
></script>
<script
src=
"{% static "
js
/
gadjo.js
"
%}"
></script>
<link
href=
"{% static "
css
/
combo.manager.css
"
%}"
rel=
"stylesheet"
type=
"text/css"
/>
{% import_django_select2_js_css %}
{% endblock %}
{% block more-user-links %}
...
...
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