Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Political Memory
memopol
Commits
6e1ee5b0
Commit
6e1ee5b0
authored
Sep 04, 2016
by
Nicolas Joyard
Browse files
Fix cache keys and cache position form
parent
24f83ba8
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/base.html
View file @
6e1ee5b0
...
...
@@ -49,7 +49,7 @@
{% block sidebar %}
{% include '_base_intro.html' %}
<hr
class=
"hidden-xs"
/>
{% cache 3600 LANGUAGE_CODE %}
{# 1 hour #}
{% cache 3600
search_form
LANGUAGE_CODE %}
{% include '_base_search.html' %}
{% endcache %}
<hr
class=
"hidden-xs"
/>
...
...
@@ -63,7 +63,9 @@
{% endblock %}
</div>
{% include '_position_form_modal.html' %}
{% cache 3600 position_form LANGUAGE_CODE %}
{% include '_position_form_modal.html' %}
{% endcache %}
<div
class=
"col-sm-9 col-sm-offset-3 {% block container-class %}{% endblock %}"
>
{% block content %}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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