from django.forms import ModelForm

from player.models import Invitation


class InvitationForm(ModelForm):
    class Meta:
        model = Invitation
        exclude = ['from_user', 'timestamp']
from django.forms import ModelForm

from player.models import Invitation


class InvitationForm(ModelForm):
    class Meta:
        model = Invitation
        exclude = ['from_user', 'timestamp']