This commit is contained in:
behruz-dev
2025-11-11 19:43:46 +05:00
parent 5626269999
commit c54886d586
17 changed files with 161 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ class Contract(BaseModel):
add_notification = models.BooleanField(default=False)
company = models.ForeignKey(get_user_model(), on_delete=models.CASCADE, related_name='contracts')
folder = models.ForeignKey(Folder, on_delete=models.SET_NULL, null=True, blank=True, related_name='countracts')
folder = models.ForeignKey(Folder, on_delete=models.SET_NULL, null=True, blank=True, related_name='contracts')
def __str__(self):
return f'{self.name}'