|
|
|
|
@ -287,7 +287,7 @@ class Portfolio(models.Model): |
|
|
|
|
budget = models.DecimalField(max_digits=10, decimal_places=0, default=0, null=True, blank=True) |
|
|
|
|
building_classification = models.ForeignKey(BuildingClassfication, related_name='portfolios', null=True, blank=True) |
|
|
|
|
construction_type = models.ForeignKey(ConstructionType, related_name='portfolios', null=True, blank=True) |
|
|
|
|
created = models.DateTimeField(default=timezone.now, auto_now_add=True, auto_created=True) |
|
|
|
|
created = models.DateTimeField(auto_now_add=True, auto_created=True) |
|
|
|
|
currency = models.CharField(max_length=20, default='rur', choices=CURRENCIES, null=True, blank=True) |
|
|
|
|
description = models.TextField() |
|
|
|
|
location = TreeForeignKey('common.Location', related_name='portfolios', null=True, blank=True) |
|
|
|
|
|