Skip to content

Commit

Permalink
Changed the number of displayed links on pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
drx committed Jul 6, 2011
1 parent 8b2c18f commit c17b7a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/views.py
Expand Up @@ -148,9 +148,9 @@ def recommend(request, followed=False, category_slug=None, before=None, username
related_tags = list(Tag.objects.related_tags(tags))
cache.set(related_cache_key, related_tags, 60*60*6)

n = 100
n = 50
if category and category.name in ('Videos', 'Pics') or fresh:
n = 10
n = 20

if usernames is not None:
usernames = usernames.split(',')
Expand Down

0 comments on commit c17b7a8

Please sign in to comment.