# Django
from django.contrib.auth.forms import UserCreationForm, UserChangeForm
from django.forms import ModelForm

# Models
from .models import Organization, Location

class OrganizationForm(ModelForm):

    class Meta:
        model = Organization
        fields = '__all__'
        exclude = ['members', 'subscription']

class OrganizationLocationForm(ModelForm):
    
    class Meta:
        model = Location
        fields = '__all__'
        exclude = ['organization']
0a902c553ccd5ed441148dfcb2039a9bec5fcfed
<mask token>

<mask token>


class OrganizationLocationForm(ModelForm):


    class Meta:
        model = Location
        fields = '__all__'
        exclude = ['organization']

<mask token>


class OrganizationForm(ModelForm):


    class Meta:
        model = Organization
        fields = '__all__'
        exclude = ['members', 'subscription']


class OrganizationLocationForm(ModelForm):


    class Meta:
        model = Location
        fields = '__all__'
        exclude = ['organization']

from django.contrib.auth.forms import UserCreationForm, UserChangeForm
from django.forms import ModelForm
from .models import Organization, Location


class OrganizationForm(ModelForm):


    class Meta:
        model = Organization
        fields = '__all__'
        exclude = ['members', 'subscription']


class OrganizationLocationForm(ModelForm):


    class Meta:
        model = Location
        fields = '__all__'
        exclude = ['organization']

# Django
from django.contrib.auth.forms import UserCreationForm, UserChangeForm
from django.forms import ModelForm

# Models
from .models import Organization, Location

class OrganizationForm(ModelForm):

    class Meta:
        model = Organization
        fields = '__all__'
        exclude = ['members', 'subscription']

class OrganizationLocationForm(ModelForm):
    
    class Meta:
        model = Location
        fields = '__all__'
        exclude = ['organization']