Add from __future__ import unicode_literals, issue #37

This commit is contained in:
Roberto Rosario
2015-01-19 04:06:40 -04:00
parent efbac7300c
commit d59ea3ede2
334 changed files with 2452 additions and 2268 deletions

View File

@@ -1,3 +1,5 @@
from __future__ import unicode_literals
from django import forms
from django.contrib.auth.models import User, Group
from django.utils.translation import ugettext_lazy as _
@@ -10,8 +12,8 @@ class UserForm(forms.ModelForm):
class PasswordForm(forms.Form):
new_password_1 = forms.CharField(label=_(u'New password'), widget=forms.PasswordInput())
new_password_2 = forms.CharField(label=_(u'Confirm password'), widget=forms.PasswordInput())
new_password_1 = forms.CharField(label=_('New password'), widget=forms.PasswordInput())
new_password_2 = forms.CharField(label=_('Confirm password'), widget=forms.PasswordInput())
class GroupForm(forms.ModelForm):