diff --git a/docker-app/qfieldcloud/core/models.py b/docker-app/qfieldcloud/core/models.py index 415e41a60..50bed26ab 100644 --- a/docker-app/qfieldcloud/core/models.py +++ b/docker-app/qfieldcloud/core/models.py @@ -1078,6 +1078,10 @@ def get_absolute_url(self): def __str__(self): return self.name + " (" + str(self.id) + ")" + " owner: " + self.owner.username + @property + def name_with_owner(self) -> str: + return f"{self.owner.username}/{self.name}" + @property def attachment_dirs(self) -> List[str]: """Returns a list of configured attachment dirs for the project.