text: from django.contrib.auth.forms import UserCreationForm, UserChangeForm
  
  from .models import CustomUser
  
  
  class CustomUserCreationForm(UserCreationForm):
      class Meta:
          model = CustomUser
          fields = (
              'first_name', 'last_name',
              'patronym', 'edu_institution',
              'email', 'phone_number',
          )
  
  
  class CustomUserChangeForm(UserChangeForm):
      class Meta:
          model = CustomUser
          fields = (
              'first_name', 'last_name',
              'patronym', 'edu_institution',
              'email', 'phone_number',
          )
  