Skip to content

Commit

Permalink
chore(project): optimise combined_emprise
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisig committed Nov 18, 2024
1 parent aad2444 commit e8dc95e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/models/project_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Status(models.TextChoices):
)
name = models.CharField("Nom", max_length=100, validators=[is_alpha_validator])

@property
@cached_property
def combined_emprise(self) -> MultiPolygon:
return self.land.mpoly

Expand Down

0 comments on commit e8dc95e

Please sign in to comment.