Commit 50f7caf1 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

print_{r,}deps: get_link()

parent 227aeb8b
Pipeline #940 passed with stages
in 45 seconds
......@@ -294,10 +294,10 @@ class Project(Links, NamedModel, TimeStampedModel):
return images.order_by(Length('robotpkg__name').desc()).first()
def print_deps(self):
return ', '.join(str(d.library) for d in self.dependencies.all())
return mark_safe(', '.join(d.get_link() for d in self.dependencies.all()))
def print_rdeps(self):
return ', '.join(str(d.project) for d in self.rdeps.all())
return mark_safe(', '.join(d.get_link() for d in self.rdeps.all()))
class Repo(TimeStampedModel):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment