Skip to content

Commit

Permalink
initial V
Browse files Browse the repository at this point in the history
  • Loading branch information
pandaxcore committed May 24, 2024
1 parent 38039ff commit fd2b55e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions acme_project/birthday/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ class Meta:
)

def get_absolute_url(self):
"""Docstring."""
# С помощью функции reverse() возвращаем URL объекта.
return reverse('birthday:detail', kwargs={'pk': self.pk})

0 comments on commit fd2b55e

Please sign in to comment.