from django import forms

from tempel import utils

class EntryForm(forms.Form):
    language = forms.ChoiceField(choices=utils.get_languages(),
                                 initial="python")
    content = forms.CharField(widget=forms.Textarea)
    private = forms.BooleanField(required=False)


from django import forms

from tempel import utils

class EntryForm(forms.Form):
    language = forms.ChoiceField(choices=utils.get_languages(),
                                 initial="python")
    content = forms.CharField(widget=forms.Textarea)
    private = forms.BooleanField(required=False)

class EditForm(forms.Form):
    language = forms.ChoiceField(choices=utils.get_languages(),
                                 initial="python")
    content = forms.CharField(widget=forms.Textarea)


Add EditForm that does not have 'private' field.
Add EditForm that does not have 'private' field.

  from django import forms
  
  from tempel import utils
  
  class EntryForm(forms.Form):
      language = forms.ChoiceField(choices=utils.get_languages(),
                                   initial="python")
      content = forms.CharField(widget=forms.Textarea)
      private = forms.BooleanField(required=False)
  
+ class EditForm(forms.Form):
+     language = forms.ChoiceField(choices=utils.get_languages(),
+                                  initial="python")
+     content = forms.CharField(widget=forms.Textarea)
  
+ 
Add EditForm that does not have 'private' field.
## Code Before:
from django import forms

from tempel import utils

class EntryForm(forms.Form):
    language = forms.ChoiceField(choices=utils.get_languages(),
                                 initial="python")
    content = forms.CharField(widget=forms.Textarea)
    private = forms.BooleanField(required=False)


## Instruction:
Add EditForm that does not have 'private' field.
## Code After:
from django import forms

from tempel import utils

class EntryForm(forms.Form):
    language = forms.ChoiceField(choices=utils.get_languages(),
                                 initial="python")
    content = forms.CharField(widget=forms.Textarea)
    private = forms.BooleanField(required=False)

class EditForm(forms.Form):
    language = forms.ChoiceField(choices=utils.get_languages(),
                                 initial="python")
    content = forms.CharField(widget=forms.Textarea)

