Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
bookshare
Commits
c65bd413
Commit
c65bd413
authored
May 03, 2015
by
Daniel W Bond
Browse files
changed cache yet again after user tested yesterday; added warning re cache
parent
8192965b
Changes
2
Show whitespace changes
Inline
Side-by-side
bookshare/trades/templates/list_listings.html
View file @
c65bd413
...
@@ -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>
</div>
{% 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' %}
...
...
bookshare/trades/urls.py
View file @
c65bd413
...
@@ -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'
),
...
...
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