'url',
'web_url',
'msgid',
+ # TODO(stephenfin): Drop this in a future API version - it is
+ # too slow to calculate and not necessary here.
'list_archive_url',
'date',
'name',
'url',
'web_url',
'msgid',
+ # TODO(stephenfin): Drop this in a future API version - it is
+ # too slow to calculate and not necessary here.
'list_archive_url',
'date',
)
'url',
'web_url',
'msgid',
+ # TODO(stephenfin): Drop this in a future API version - it is
+ # too slow to calculate and not necessary here.
'list_archive_url',
'date',
'name',
'url',
'web_url',
'msgid',
+ # TODO(stephenfin): Drop this in a future API version - it is
+ # too slow to calculate and not necessary here.
'list_archive_url',
'date',
)
'web_url',
'scm_url',
'webscm_url',
+ # TODO(stephenfin): Drop this in a future API version - it is
+ # too slow to calculate and not necessary here.
'list_archive_url',
+ # TODO(stephenfin): Ditto
'list_archive_url_format',
+ # TODO(stephenfin): Ditto
'commit_url_format',
)
read_only_fields = fields
name = models.CharField(max_length=255)
- @property
+ @cached_property
def list_archive_url(self):
if not self.project.list_archive_url_format:
return None
)
addressed = models.BooleanField(null=True)
- @property
+ @cached_property
def list_archive_url(self):
if not self.cover.project.list_archive_url_format:
return None
)
addressed = models.BooleanField(null=True)
- @property
+ @cached_property
def list_archive_url(self):
if not self.patch.project.list_archive_url_format:
return None