From acb2946c65434ade47fff26b7f81bcc55e43bd0c Mon Sep 17 00:00:00 2001 From: Andrey Date: Mon, 24 Apr 2017 23:56:23 +0300 Subject: [PATCH] license: some help_texts for fields --- project/customer/models.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/project/customer/models.py b/project/customer/models.py index e79de91..583723a 100644 --- a/project/customer/models.py +++ b/project/customer/models.py @@ -422,9 +422,11 @@ class License(models.Model): date_to = models.DateField(u'дата окончания', null=True, blank=True) payform = models.IntegerField(u'форма оплаты', choices=consts.PAYFORMS, default=consts.PAYFORM_BEZNAL) - status = models.IntegerField(u'статус лицензии', choices=consts.LICENSE_STATUSES, blank=True, null=True, default=None) + status = models.IntegerField(u'статус лицензии', choices=consts.LICENSE_STATUSES, blank=True, null=True, default=None, + help_text=u'Оставьте пустым, если лицензия платная и пока еще не оплачена.') - order_status = models.IntegerField(u'статус заказа', choices=consts.ORDER_STATUSES, blank=True, null=True, default=None) + order_status = models.IntegerField(u'статус заказа', choices=consts.ORDER_STATUSES, blank=True, null=True, default=None, + help_text=u'Оставьте пустым, если лицензия бесплатная.') order_date = models.DateField(u'дата заказа', null=True, blank=True) paid_date = models.DateField(u'дата оплаты', null=True, blank=True) suspend_date = models.DateField(u'дата заморозки', null=True, blank=True)