from django import forms
from .models import (
    Neighborhood,
    Neighborhood_buisnesses,
    Neighborhood_announcement,
    Neighborhood_stories,
    Neighborhood_contact_info,
)

class NeighborhoodCreationForm(forms.ModelForm):
    '''
    Form for creating neighbourhood
    '''
    class Meta:
        model = Neighborhood
        fields = ["name","location"]

class NeighborhoodAnnouncementForm(forms.ModelForm):
    '''
    Form for creatinga announcements
    '''
    class Meta:
        model = Neighborhood_announcement
        fields = ["title","announcement"]

class NeighborhoodBuisnessesForm(forms.ModelForm):
    '''
    Form for advertising a a buisness
    '''
    class Meta:
        model = Neighborhood_buisnesses
        fields = ["buisness_name","buisness_email","buisness_number"]

class NeighborhoodContactForm(forms.ModelForm):
    '''
    Form for adding contacts to the neighbourhood
    '''
    class Meta:
        model = Neighborhood_contact_info
        fields = ["department","contact_number","contact_email"]

class NeighborhoodStoryForm(forms.ModelForm):
    '''
    Form for creating stories about the neighbourhood
    '''
    class Meta:
        model = Neighborhood_stories
        fields = ["title","headline","Story"]

    
611a90c08e59820dc449f0b7f3ce5c43ed9fe7ff
<mask token>


class NeighborhoodBuisnessesForm(forms.ModelForm):
    <mask token>


    class Meta:
        model = Neighborhood_buisnesses
        fields = ['buisness_name', 'buisness_email', 'buisness_number']


class NeighborhoodContactForm(forms.ModelForm):
    """
    Form for adding contacts to the neighbourhood
    """


    class Meta:
        model = Neighborhood_contact_info
        fields = ['department', 'contact_number', 'contact_email']


class NeighborhoodStoryForm(forms.ModelForm):
    """
    Form for creating stories about the neighbourhood
    """


    class Meta:
        model = Neighborhood_stories
        fields = ['title', 'headline', 'Story']

<mask token>


class NeighborhoodCreationForm(forms.ModelForm):
    <mask token>


    class Meta:
        model = Neighborhood
        fields = ['name', 'location']


class NeighborhoodAnnouncementForm(forms.ModelForm):
    """
    Form for creatinga announcements
    """


    class Meta:
        model = Neighborhood_announcement
        fields = ['title', 'announcement']


class NeighborhoodBuisnessesForm(forms.ModelForm):
    """
    Form for advertising a a buisness
    """


    class Meta:
        model = Neighborhood_buisnesses
        fields = ['buisness_name', 'buisness_email', 'buisness_number']


class NeighborhoodContactForm(forms.ModelForm):
    """
    Form for adding contacts to the neighbourhood
    """


    class Meta:
        model = Neighborhood_contact_info
        fields = ['department', 'contact_number', 'contact_email']


class NeighborhoodStoryForm(forms.ModelForm):
    """
    Form for creating stories about the neighbourhood
    """


    class Meta:
        model = Neighborhood_stories
        fields = ['title', 'headline', 'Story']

<mask token>


class NeighborhoodCreationForm(forms.ModelForm):
    """
    Form for creating neighbourhood
    """


    class Meta:
        model = Neighborhood
        fields = ['name', 'location']


class NeighborhoodAnnouncementForm(forms.ModelForm):
    """
    Form for creatinga announcements
    """


    class Meta:
        model = Neighborhood_announcement
        fields = ['title', 'announcement']


class NeighborhoodBuisnessesForm(forms.ModelForm):
    """
    Form for advertising a a buisness
    """


    class Meta:
        model = Neighborhood_buisnesses
        fields = ['buisness_name', 'buisness_email', 'buisness_number']


class NeighborhoodContactForm(forms.ModelForm):
    """
    Form for adding contacts to the neighbourhood
    """


    class Meta:
        model = Neighborhood_contact_info
        fields = ['department', 'contact_number', 'contact_email']


class NeighborhoodStoryForm(forms.ModelForm):
    """
    Form for creating stories about the neighbourhood
    """


    class Meta:
        model = Neighborhood_stories
        fields = ['title', 'headline', 'Story']

from django import forms
from .models import Neighborhood, Neighborhood_buisnesses, Neighborhood_announcement, Neighborhood_stories, Neighborhood_contact_info


class NeighborhoodCreationForm(forms.ModelForm):
    """
    Form for creating neighbourhood
    """


    class Meta:
        model = Neighborhood
        fields = ['name', 'location']


class NeighborhoodAnnouncementForm(forms.ModelForm):
    """
    Form for creatinga announcements
    """


    class Meta:
        model = Neighborhood_announcement
        fields = ['title', 'announcement']


class NeighborhoodBuisnessesForm(forms.ModelForm):
    """
    Form for advertising a a buisness
    """


    class Meta:
        model = Neighborhood_buisnesses
        fields = ['buisness_name', 'buisness_email', 'buisness_number']


class NeighborhoodContactForm(forms.ModelForm):
    """
    Form for adding contacts to the neighbourhood
    """


    class Meta:
        model = Neighborhood_contact_info
        fields = ['department', 'contact_number', 'contact_email']


class NeighborhoodStoryForm(forms.ModelForm):
    """
    Form for creating stories about the neighbourhood
    """


    class Meta:
        model = Neighborhood_stories
        fields = ['title', 'headline', 'Story']

from django import forms
from .models import (
    Neighborhood,
    Neighborhood_buisnesses,
    Neighborhood_announcement,
    Neighborhood_stories,
    Neighborhood_contact_info,
)

class NeighborhoodCreationForm(forms.ModelForm):
    '''
    Form for creating neighbourhood
    '''
    class Meta:
        model = Neighborhood
        fields = ["name","location"]

class NeighborhoodAnnouncementForm(forms.ModelForm):
    '''
    Form for creatinga announcements
    '''
    class Meta:
        model = Neighborhood_announcement
        fields = ["title","announcement"]

class NeighborhoodBuisnessesForm(forms.ModelForm):
    '''
    Form for advertising a a buisness
    '''
    class Meta:
        model = Neighborhood_buisnesses
        fields = ["buisness_name","buisness_email","buisness_number"]

class NeighborhoodContactForm(forms.ModelForm):
    '''
    Form for adding contacts to the neighbourhood
    '''
    class Meta:
        model = Neighborhood_contact_info
        fields = ["department","contact_number","contact_email"]

class NeighborhoodStoryForm(forms.ModelForm):
    '''
    Form for creating stories about the neighbourhood
    '''
    class Meta:
        model = Neighborhood_stories
        fields = ["title","headline","Story"]

    