mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-11-29 11:44:28 +01:00
Initial python3 support.
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
"""Core forms."""
|
||||
|
||||
from builtins import object
|
||||
|
||||
from django import forms
|
||||
from django.utils.translation import ugettext as _, ugettext_lazy
|
||||
|
||||
@@ -44,7 +46,7 @@ class ProfileForm(forms.ModelForm):
|
||||
widget=forms.PasswordInput(attrs={"class": "form-control"})
|
||||
)
|
||||
|
||||
class Meta:
|
||||
class Meta(object):
|
||||
model = User
|
||||
fields = ("first_name", "last_name", "language",
|
||||
"phone_number", "secondary_email")
|
||||
|
||||
Reference in New Issue
Block a user