from django import forms
from gestaoapp.models import Projeto

class FormProjeto(forms.ModelForm):

	# def save(self, commit=True):
		
	# 	projeto = super(FormProjeto, self).save(commit=False)
		
	# 	if commit:
	# 		projeto.situacao = 'Pendente de Aprovacao'

	# 	return projeto
	
	class Meta:
		model = Projeto
		fields = "__all__"
d3fbd60b7aa4048311f9c4b718aa2b8b0337834a
<mask token>

<mask token>


class FormProjeto(forms.ModelForm):


    class Meta:
        model = Projeto
        fields = '__all__'

from django import forms
from gestaoapp.models import Projeto


class FormProjeto(forms.ModelForm):


    class Meta:
        model = Projeto
        fields = '__all__'

from django import forms
from gestaoapp.models import Projeto

class FormProjeto(forms.ModelForm):

	# def save(self, commit=True):
		
	# 	projeto = super(FormProjeto, self).save(commit=False)
		
	# 	if commit:
	# 		projeto.situacao = 'Pendente de Aprovacao'

	# 	return projeto
	
	class Meta:
		model = Projeto
		fields = "__all__"