Returns the URL to access a particular author instance.
(self)
| 69 | ordering = ['last_name', 'first_name'] |
| 70 | |
| 71 | def get_absolute_url(self): |
| 72 | """Returns the URL to access a particular author instance.""" |
| 73 | return reverse('author-detail', args=[str(self.id)]) |
| 74 | |
| 75 | def __str__(self): |
| 76 | return f'{self.first_name} {self.last_name}' |
nothing calls this directly
no outgoing calls
no test coverage detected