Skip to content

Commit

Permalink
In the initial data setup, the 'thumbnail' photosizes should not incr…
Browse files Browse the repository at this point in the history
…ement the view count (issue #133).
  • Loading branch information
Richard Barran committed May 20, 2015
1 parent e1ea21f commit b3c3066
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Changelog
3.3 (unreleased)
----------------

- Nothing changed yet.
- In the initial data setup, the 'thumbnail' photosizes should not increment the
view count (issue #133)


3.2 (2015-05-11)
Expand Down
4 changes: 2 additions & 2 deletions photologue/migrations/0002_photosize_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ def initial_photosizes(apps, schema_editor):
height=75,
crop=True,
pre_cache=True,
increment_count=True)
increment_count=False)
PhotoSize.objects.create(name='thumbnail',
width=100,
height=75,
crop=True,
pre_cache=True,
increment_count=True)
increment_count=False)
PhotoSize.objects.create(name='display',
width=400,
crop=False,
Expand Down

0 comments on commit b3c3066

Please sign in to comment.