
from django import forms

from . import models


class PostForm(forms.ModelForm):

    class Meta:
        model = models.Post
        fields = (
            'title',
            'body',
            'status',
        )


from django import forms

from . import models


class PostForm(forms.ModelForm):

    class Meta:
        model = models.Post
        fields = (
            'title',
            'body',
        )

Remove campo com default do form
Remove campo com default do form

  
  from django import forms
  
  from . import models
  
  
  class PostForm(forms.ModelForm):
  
      class Meta:
          model = models.Post
          fields = (
              'title',
              'body',
-             'status',
          )
  
Remove campo com default do form
## Code Before:

from django import forms

from . import models


class PostForm(forms.ModelForm):

    class Meta:
        model = models.Post
        fields = (
            'title',
            'body',
            'status',
        )

## Instruction:
Remove campo com default do form
## Code After:

from django import forms

from . import models


class PostForm(forms.ModelForm):

    class Meta:
        model = models.Post
        fields = (
            'title',
            'body',
        )
