Skip to content

Commit 504858f

Browse files
authored
Merge pull request #722 from basedosdados/staging
Staging
2 parents ffd4c6e + db03e1e commit 504858f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/apps/api/v1/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ class Meta:
476476

477477
@property
478478
def full_slug(self):
479-
if self.area.slug != "unknown":
479+
if self.area:
480480
return f"{self.area.slug}_{self.slug}"
481481
return f"{self.slug}"
482482

0 commit comments

Comments
 (0)