Commit c65bd413 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

changed cache yet again after user tested yesterday; added warning re cache

parent 8192965b
...@@ -19,13 +19,16 @@ SRCT Bookshare • Latest Listings ...@@ -19,13 +19,16 @@ SRCT Bookshare • Latest Listings
<div class="row"> <div class="row">
<div class="col-md-10 col-md-offset-1 text-center"> <div class="col-md-10 col-md-offset-1 text-center">
<h4><p><em>Want to <strong><a href="/search">search</a></strong> for something specific?</em></p></h4> <h4><p>Want to instead <strong><a href="/search">search</a></strong> for something specific?</p></h4>
</div> </div>
</div> </div>
<legend></legend> <legend></legend>
<div class="row"> <div class="row">
<div class="col-md-10 col-md-offset-1 text-center bottom-padding">
<small><em>New listings may take a few moments to appear.</em></small>
{% for listing in listings %} {% for listing in listings %}
<div class="col-md-6"> <div class="col-md-6">
{% include 'listing_preview_panel.html' %} {% include 'listing_preview_panel.html' %}
...@@ -16,7 +16,7 @@ urlpatterns = patterns('', ...@@ -16,7 +16,7 @@ urlpatterns = patterns('',
CreateListing.as_view(), name='create_listing'), CreateListing.as_view(), name='create_listing'),
url(r'^listing/(?P<slug>[\w-]+)/$', url(r'^listing/(?P<slug>[\w-]+)/$',
cache_page(6)(ListingPage.as_view()), name='detail_listing'), cache_page(4)(ListingPage.as_view()), name='detail_listing'),
url(r'^listing/(?P<slug>[\w-]+)/delete/$', url(r'^listing/(?P<slug>[\w-]+)/delete/$',
DeleteListing.as_view(), name='delete_listing'), DeleteListing.as_view(), name='delete_listing'),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment