# Path: wye/organisations/models.py
# class Organisation(AuditModel):
#     class Meta:
#     def list_user_organisations(cls, user):
#     def get_organisation_user_list(self):
#     def toggle_active(self, logged_user, **kwargs):
#     def __str__(self):


from django import forms
from .models import Organisation, User


class OrganisationForm(forms.ModelForm):

    def __init__(self, *args, **kwargs):
        super(OrganisationForm, self).__init__(*args, **kwargs)

    class Meta:
        model = Organisation
        exclude = ('user', 'created_at', 'modified_at',
                   'active', 'created_by', 'modified_by',
                   'students')


class OrganisationMemberAddForm(forms.ModelForm):

    def __init__(self, *args, **kwargs):
        super(OrganisationMemberAddForm, self).__init__(*args, **kwargs)

    class Meta:

# Path: wye/organisations/models.py
# class Organisation(AuditModel):
#     class Meta:
#     def list_user_organisations(cls, user):
#     def get_organisation_user_list(self):
#     def toggle_active(self, logged_user, **kwargs):
#     def __str__(self):


# Path: wye/organisations/forms.py
from django import forms
from .models import Organisation, User



class OrganisationForm(forms.ModelForm):

    def __init__(self, *args, **kwargs):
        super(OrganisationForm, self).__init__(*args, **kwargs)

    class Meta:
        model = Organisation
        exclude = ('user', 'created_at', 'modified_at',
                   'active', 'created_by', 'modified_by',
                   'students')


class OrganisationMemberAddForm(forms.ModelForm):

    def __init__(self, *args, **kwargs):
        super(OrganisationMemberAddForm, self).__init__(*args, **kwargs)

    class Meta:

        model = Organisation