from django.forms import ModelForm
from .models import Account, Site

class SiteForm(ModelForm):
    class Meta(object):
        model = Site
        exclude = ('verified',)

class AccountForm(ModelForm):
    class Meta(object):
        model = Account
        exclude = ('owner', 'delegates')

from django.forms import ModelForm
from .models import Account, Site

class SiteForm(ModelForm):
    class Meta(object):
        model = Site
        exclude = ('belongs_to', 'verification_state',)

class AccountForm(ModelForm):
    class Meta(object):
        model = Account
        exclude = ('owner', 'delegates')

Remove internal fields form from
Remove internal fields form from
  from django.forms import ModelForm
  from .models import Account, Site
  
  class SiteForm(ModelForm):
      class Meta(object):
          model = Site
-         exclude = ('verified',)
+         exclude = ('belongs_to', 'verification_state',)
  
  class AccountForm(ModelForm):
      class Meta(object):
          model = Account
          exclude = ('owner', 'delegates')
  
Remove internal fields form from
## Code Before:
from django.forms import ModelForm
from .models import Account, Site

class SiteForm(ModelForm):
    class Meta(object):
        model = Site
        exclude = ('verified',)

class AccountForm(ModelForm):
    class Meta(object):
        model = Account
        exclude = ('owner', 'delegates')

## Instruction:
Remove internal fields form from
## Code After:
from django.forms import ModelForm
from .models import Account, Site

class SiteForm(ModelForm):
    class Meta(object):
        model = Site
        exclude = ('belongs_to', 'verification_state',)

class AccountForm(ModelForm):
    class Meta(object):
        model = Account
        exclude = ('owner', 'delegates')
