Skip to content

Commit

Permalink
Merge pull request #722 from basedosdados/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
rdahis authored Dec 5, 2024
2 parents ffd4c6e + db03e1e commit 504858f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/apps/api/v1/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ class Meta:

@property
def full_slug(self):
if self.area.slug != "unknown":
if self.area:
return f"{self.area.slug}_{self.slug}"
return f"{self.slug}"

Expand Down

0 comments on commit 504858f

Please sign in to comment.