Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Commit

Permalink
Added support for newer Django Filer installs (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoistinen committed Jun 29, 2016
1 parent 2887897 commit d6ae89f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ CHANGELOG

* Updated translation setup for transifex
* Fixed bootstrap3 article template sometimes causing broken pages
* Added support for cache durations fields in "time-sensitive" plugins on django CMS 3.3.0+
* Added support for newer versions of django-filer


1.2.2 (2016-05-19)
Expand Down
2 changes: 1 addition & 1 deletion aldryn_newsblog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from __future__ import unicode_literals

__version__ = '1.2.2'
__version__ = '1.2.3.pre1'


default_app_config = 'aldryn_newsblog.apps.AldrynNewsBlog'
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{% if not detail_view %}
<a href="{{ article.get_absolute_url }}">
{% endif %}
<img src="{% thumbnail article.featured_image.image 800x450 crop subject_location=article.featured_image.subject_location %}" alt="{{ article.featured_image.alt }}" class="img-responsive">
<img src="{% thumbnail article.featured_image 800x450 crop subject_location=article.featured_image.subject_location %}" alt="{{ article.featured_image.alt }}" class="img-responsive">
{% if not detail_view %}
</a>
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{# The image is only shown on the detail view by using the condition "and detail_view" #}
{% if article.featured_image_id and detail_view %}
<p>
<img src="{% thumbnail article.featured_image.image 800x450 crop subject_location=article.featured_image.subject_location %}" alt="{{ article.featured_image.alt }}">
<img src="{% thumbnail article.featured_image 800x450 crop subject_location=article.featured_image.subject_location %}" alt="{{ article.featured_image.alt }}">
</p>
{% endif %}

Expand Down
5 changes: 0 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ deps =
py26: ordereddict
py26: django-filer<=1.1.1

py27: django-filer<=1.2.0
py33: django-filer<=1.2.0
py34: django-filer<=1.2.0
py35: django-filer<=1.2.0

dj16: -rtest_requirements/django-1.6.txt
dj17: -rtest_requirements/django-1.7.txt
dj18: -rtest_requirements/django-1.8.txt
Expand Down

0 comments on commit d6ae89f

Please sign in to comment.