ModelForm has no model class specified.

from django import forms
from .models import AdvUser
class ChangeUserInfoForm (forms.ModelForm):
email = forms.EmailField(required=True,
label=‘Адрес электронной почты’)
class Meta:
model = AdvUser
fields = (‘username’, ‘email’, ‘first_name’, ‘last_name’,

Please post the complete traceback message you’re receiving.

Also, when you’re posting code or traceback messages, enclose them between lines of three backtick - ` characters. This means you’ll have a line of ```, then the code (or traceback), then another line of ```. This forces the forum software to maintain the proper formatting of the code, which is critical with python.