text: from django import forms
  from .models import *
  
  
  class NewProjectForm(forms.ModelForm):
      class Meta:
          model = Projects
          exclude = [ 'pub_date' ]
          widgets = {
            'project_description': forms.Textarea(attrs={'rows':4, 'cols':10,}),
          }
          
  class ProfileUpdateForm(forms.ModelForm):
      class Meta:
          model = Profile
          exclude = ['user']
          widgets = {
            'bio': forms.Textarea(attrs={'rows':2, 'cols':10,}),
          }
  
  
  # Updating user 
  class UpdateUser(forms.ModelForm):
    email = forms.EmailField()
  
    class Meta:
      model = User
      fields = ['username', 'email']
  
  class ProfileUpdateForm(forms.ModelForm):
      class Meta:
          model = Profile
          exclude = ['user']
          widgets = {
            'bio': forms.Textarea(attrs={'rows':2, 'cols':10,}),
          }