Skip to content

Commit

Permalink
Add current site to cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
maxicecilia committed Aug 17, 2015
1 parent 0cfdeac commit 69dc184
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion simple_classroom/templates/downloads/per_category.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="page-header">
<h1>{{ download_type|default:"Descargas" }}</h1>
</div>
{% cache 7200 downloads_per_category %}
{% cache 7200 downloads_per_category request.site %}
{% for object in site_downloads %}
<h2>{{object.category.name}}</h2>
<table class="table table-striped table-bordered table-condensed">
Expand Down
2 changes: 1 addition & 1 deletion simple_classroom/templates/downloads/per_dictation.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="page-header">
<h1>{{ dictation }}<br/></h1>
</div>
{% cache 7200 downloads_per_dictation %}
{% cache 7200 downloads_per_dictation request.site %}
<table id="table-exercises" class="table table-striped table-bordered table-condensed">
<thead>
<tr>
Expand Down

0 comments on commit 69dc184

Please sign in to comment.