mirror of
https://github.com/kristoferssolo/FOSSDB.git
synced 2025-10-21 17:50:35 +00:00
Fix Project absolute url
This commit is contained in:
parent
c7145b096a
commit
a2868b573d
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user