from django import forms
from django.contrib.auth import get_user_model


User = get_user_model()


class AgentModelForm(forms.ModelForm):
    def __init__(self, *args, **kwargs):
        super(AgentModelForm, self).__init__(*args, **kwargs)
        for fieldname in ['username']:
            self.fields[fieldname].help_text = None

    class Meta:
        model = User
        fields = (
            'username',
            'email',
            'first_name',
            'last_name'
        )

e841fdcd531567db68f9ceb289550fdf4e12fc42
<mask token>


class AgentModelForm(forms.ModelForm):
    <mask token>


    class Meta:
        model = User
        fields = 'username', 'email', 'first_name', 'last_name'

<mask token>


class AgentModelForm(forms.ModelForm):

    def __init__(self, *args, **kwargs):
        super(AgentModelForm, self).__init__(*args, **kwargs)
        for fieldname in ['username']:
            self.fields[fieldname].help_text = None


    class Meta:
        model = User
        fields = 'username', 'email', 'first_name', 'last_name'

<mask token>
User = get_user_model()


class AgentModelForm(forms.ModelForm):

    def __init__(self, *args, **kwargs):
        super(AgentModelForm, self).__init__(*args, **kwargs)
        for fieldname in ['username']:
            self.fields[fieldname].help_text = None


    class Meta:
        model = User
        fields = 'username', 'email', 'first_name', 'last_name'

from django import forms
from django.contrib.auth import get_user_model
User = get_user_model()


class AgentModelForm(forms.ModelForm):

    def __init__(self, *args, **kwargs):
        super(AgentModelForm, self).__init__(*args, **kwargs)
        for fieldname in ['username']:
            self.fields[fieldname].help_text = None


    class Meta:
        model = User
        fields = 'username', 'email', 'first_name', 'last_name'

from django import forms
from django.contrib.auth import get_user_model


User = get_user_model()


class AgentModelForm(forms.ModelForm):
    def __init__(self, *args, **kwargs):
        super(AgentModelForm, self).__init__(*args, **kwargs)
        for fieldname in ['username']:
            self.fields[fieldname].help_text = None

    class Meta:
        model = User
        fields = (
            'username',
            'email',
            'first_name',
            'last_name'
        )
