mirror of
https://github.com/kristoferssolo/FOSSDB.git
synced 2026-02-05 07:12:10 +00:00
Fix Project absolute url
This commit is contained in:
@@ -24,8 +24,7 @@ class Project(models.Model):
|
||||
def star_amount(self):
|
||||
return self.star.count()
|
||||
|
||||
@property
|
||||
def absolute_url(self):
|
||||
def get_absolute_url(self):
|
||||
return f"/{self.owner}/{self.name}"
|
||||
|
||||
def __str__(self):
|
||||
|
||||
Reference in New Issue
Block a user