Skip to content

Commit

Permalink
add new hero component and information page
Browse files Browse the repository at this point in the history
  • Loading branch information
hom3mad3 authored and m4ra committed Feb 18, 2025
1 parent 32b5828 commit 3725b35
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions meinberlin/apps/plans/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ class Plan(ProjectContactDetailMixin, UserGeneratedContentModel):
max_length=120,
verbose_name=_("Title of your plan"),
)

@property
def name(self):
return self.title

organisation = models.ForeignKey(
settings.A4_ORGANISATIONS_MODEL,
on_delete=models.CASCADE,
Expand Down

0 comments on commit 3725b35

Please sign in to comment.