Use reverse lookups for urls
This commit is contained in:
parent
33ec315fbf
commit
748810cd41
18 changed files with 42 additions and 35 deletions
|
@ -5,7 +5,7 @@
|
|||
{% endcomment %}
|
||||
{% for author in book.authors.all %}
|
||||
<a
|
||||
href="/author/{{ author.id }}"
|
||||
href="{{ author.local_path }}"
|
||||
class="author"
|
||||
itemprop="author"
|
||||
itemscope
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue