Skip to content
Snippets Groups Projects
Commit c1756c64 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Updates to latest version of select2

parent 8f642c50
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
{% load render_table from django_tables2 %} {% load render_table from django_tables2 %}
{% block title %}Submissions{% endblock %} {% block title %}Submissions{% endblock %}
{% block extra_css %}
{{ filter.form.media.css }}
{% endblock %}
{% block content %} {% block content %}
<div class="admin-bar"> <div class="admin-bar">
<div class="admin-bar__inner wrapper--search"> <div class="admin-bar__inner wrapper--search">
...@@ -50,5 +54,5 @@ ...@@ -50,5 +54,5 @@
{% endblock %} {% endblock %}
{% block extra_js %} {% block extra_js %}
{{ filter.form.media }} {{ filter.form.media.js }}
{% endblock %} {% endblock %}
...@@ -546,6 +546,7 @@ SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') ...@@ -546,6 +546,7 @@ SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
if 'SECURE_HSTS_SECONDS' in env: if 'SECURE_HSTS_SECONDS' in env:
try: try:
SECURE_HSTS_SECONDS = int(env['SECURE_HSTS_SECONDS']) SECURE_HSTS_SECONDS = int(env['SECURE_HSTS_SECONDS'])
except ValueError:
pass pass
if env.get('SECURE_BROWSER_XSS_FILTER', 'true').lower().strip() == 'true': if env.get('SECURE_BROWSER_XSS_FILTER', 'true').lower().strip() == 'true':
......
...@@ -24,8 +24,3 @@ if 'MAILGUN_API_KEY' in env: ...@@ -24,8 +24,3 @@ if 'MAILGUN_API_KEY' in env:
django_heroku.settings(locals()) django_heroku.settings(locals())
try:
from .local import * # noqa
except ImportError:
pass
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment