Fix pep8 on webapp forms

This commit is contained in:
henu
2017-10-11 19:43:08 +03:00
parent c193f1ae54
commit d349916fef
+8 -2
View File
@@ -3,15 +3,21 @@ from django.utils.translation import ugettext_lazy as _
from webapp.models import OhlhafvChallenge, KaehmyForm
class KaehmyForm_Form(forms.ModelForm):
custom_role_name = forms.TextInput(
attrs={'size': 10, 'title': 'Name of the role', })
class Meta:
model = KaehmyForm
fields = ['name', 'email', 'year', 'preset_roles', 'custom_roles', 'text']
fields = ['name', 'email', 'year',
'preset_roles', 'custom_roles', 'text']
class OhlhafvForm(forms.ModelForm):
class Meta:
model = OhlhafvChallenge
fields = ['challenger', 'challenger_email', 'victim', 'victim_email', 'series', 'message']
fields = ['challenger', 'challenger_email',
'victim', 'victim_email', 'series', 'message']