Skip to content

Commit

Permalink
Updated author_detail to use Django 1.0 syntax for image url.
Browse files Browse the repository at this point in the history
  • Loading branch information
lethain committed Jan 18, 2009
1 parent da944b4 commit 8403d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/lifeflow/author_detail.html
Expand Up @@ -7,7 +7,7 @@ <h2 class="author"><a href="{{ object.link }}">{{ object.name }}</a></h2>
<div class="details">
{% if object.picture %}
<div class="picture">
<img src="{{ object.get_picture_url }}" alt="An picture of {{ object.name }}" />
<img src="{{ object.picture.url }}" alt="An picture of {{ object.name }}" />
</div>
{% endif %}
<div class="author-description">
Expand Down

0 comments on commit 8403d58

Please sign in to comment.