From 3ccd5086f14a4ff6747525e96c2c9cf4798f73c2 Mon Sep 17 00:00:00 2001 From: bashmak Date: Mon, 20 Feb 2017 17:17:16 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=20=D0=BF=D0=BE=D0=BB=D1=8F=20=D0=B2?= =?UTF-8?q?=D0=B2=D0=BE=D0=B4=D0=B0=20=D0=B4=D1=8F=20=D0=BF=D0=B0=D1=80?= =?UTF-8?q?=D0=BE=D0=BB=D1=8F=20=D0=BF=D0=BE=D1=81=D1=82=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D1=82=D0=B8=D0=BF=20=D0=BF=D0=BE=20=D1=83=D0=BC=D0=BE?= =?UTF-8?q?=D0=BB=D1=87=D0=B0=D0=BD=D0=B8=D1=8E=20password?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- abonapp/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abonapp/forms.py b/abonapp/forms.py index c653122..bf897d9 100644 --- a/abonapp/forms.py +++ b/abonapp/forms.py @@ -32,7 +32,7 @@ class AbonForm(forms.ModelForm): })) password = forms.CharField(max_length=64, initial=generate_random_password, - widget=forms.TextInput(attrs={'class': 'form-control'})) + widget=forms.TextInput(attrs={'class': 'form-control', 'type': 'password'})) class Meta: model = models.Abon