diff --git a/projects/models.py b/projects/models.py index 35ea510..e1de565 100644 --- a/projects/models.py +++ b/projects/models.py @@ -290,7 +290,7 @@ class Portfolio(models.Model): construction_type = models.ForeignKey(ConstructionType, related_name='portfolios', null=True, blank=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() + description = models.TextField(blank=True) location = TreeForeignKey('common.Location', related_name='portfolios', null=True, blank=True) name = models.CharField(max_length=255) specialization = TreeForeignKey(Specialization, related_name='portfolios', null=True, blank=True) diff --git a/projects/templates/portfolio_detail.html b/projects/templates/portfolio_detail.html index 8d4ae53..5013bfb 100644 --- a/projects/templates/portfolio_detail.html +++ b/projects/templates/portfolio_detail.html @@ -20,90 +20,42 @@ {% endif %} - {#
{{ object.budget }}
#} - {#Описание:
-- {{ object.text }} -
-Описание:
++ {{ object.description }} +
+Похожие работы
#} -{#