Parcourir la source

[enh] Display a textarea for comment

ljf il y a 7 ans
Parent
commit
80eff6047d
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      coin/configuration/forms.py

+ 2 - 0
coin/configuration/forms.py

@@ -3,12 +3,14 @@ from __future__ import unicode_literals
 
 
 from django.forms import ModelForm, ValidationError
 from django.forms import ModelForm, ValidationError
 from django.db.models import Q
 from django.db.models import Q
+from django import forms
 
 
 from coin.offers.models import OfferSubscription
 from coin.offers.models import OfferSubscription
 from coin.configuration.models import Configuration
 from coin.configuration.models import Configuration
 
 
 
 
 class ConfigurationForm(ModelForm):
 class ConfigurationForm(ModelForm):
+    comment = forms.CharField(widget=forms.Textarea)
 
 
     class Meta:
     class Meta:
         model = Configuration
         model = Configuration