~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to wlggz/forms.py

  • Committer: franku
  • Date: 2019-04-11 15:06:09 UTC
  • mto: This revision was merged to the branch mainline in revision 540.
  • Revision ID: somal@arcor.de-20190411150609-801l72ffxgr6gkui
converted to python 3.6 using 2to3 script

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#
8
8
 
9
9
from django import forms
10
 
from models import GGZAuth
 
10
from .models import GGZAuth
11
11
from django.utils.translation import ugettext_lazy as _
12
12
 
13
13
import hashlib
15
15
 
16
16
 
17
17
class EditGGZForm(forms.ModelForm):
18
 
    password = forms.CharField(label=_(u'Online Gaming Password'),
 
18
    password = forms.CharField(label=_('Online Gaming Password'),
19
19
                               widget=forms.PasswordInput(render_value=False), required=True)
20
20
 
21
21
    class Meta: