from django.forms import ModelForm
from .models import CompsocUser, DatabaseAccount, ShellAccount


class CompsocUserForm(ModelForm):
    class Meta:
        model = CompsocUser
        fields = ['nickname', 'website_title', 'website_url']


class ShellAccountForm(ModelForm):
    class Meta:
        model = ShellAccount
        fields = ['name']
        error_messages = {
            'name': {

            }
        }


class DatabaseAccountForm(ModelForm):
    class Meta:
        model = DatabaseAccount
        fields = ['name']

from django.forms import ModelForm
from .models import CompsocUser, DatabaseAccount, ShellAccount


class CompsocUserForm(ModelForm):
    class Meta:
        model = CompsocUser
        fields = ['nickname', 'website_title', 'website_url']


class ShellAccountForm(ModelForm):
    class Meta:
        model = ShellAccount
        fields = ['name']


class DatabaseAccountForm(ModelForm):
    class Meta:
        model = DatabaseAccount
        fields = ['name']

Remove blank field from Meta class
Remove blank field from Meta class

  from django.forms import ModelForm
  from .models import CompsocUser, DatabaseAccount, ShellAccount
  
  
  class CompsocUserForm(ModelForm):
      class Meta:
          model = CompsocUser
          fields = ['nickname', 'website_title', 'website_url']
  
  
  class ShellAccountForm(ModelForm):
      class Meta:
          model = ShellAccount
          fields = ['name']
-         error_messages = {
-             'name': {
- 
-             }
-         }
  
  
  class DatabaseAccountForm(ModelForm):
      class Meta:
          model = DatabaseAccount
          fields = ['name']
  
Remove blank field from Meta class
## Code Before:
from django.forms import ModelForm
from .models import CompsocUser, DatabaseAccount, ShellAccount


class CompsocUserForm(ModelForm):
    class Meta:
        model = CompsocUser
        fields = ['nickname', 'website_title', 'website_url']


class ShellAccountForm(ModelForm):
    class Meta:
        model = ShellAccount
        fields = ['name']
        error_messages = {
            'name': {

            }
        }


class DatabaseAccountForm(ModelForm):
    class Meta:
        model = DatabaseAccount
        fields = ['name']

## Instruction:
Remove blank field from Meta class
## Code After:
from django.forms import ModelForm
from .models import CompsocUser, DatabaseAccount, ShellAccount


class CompsocUserForm(ModelForm):
    class Meta:
        model = CompsocUser
        fields = ['nickname', 'website_title', 'website_url']


class ShellAccountForm(ModelForm):
    class Meta:
        model = ShellAccount
        fields = ['name']


class DatabaseAccountForm(ModelForm):
    class Meta:
        model = DatabaseAccount
        fields = ['name']
