text: from django import forms
  
  from GamesPlay.game.models import Game
  
  
  class GameForm(forms.ModelForm):
      class Meta:
          model = Game
          fields = '__all__'
  
  
  class GameDeletionForm(GameForm):
      def __init__(self, *args, **kwargs):
          super().__init__(*args, **kwargs)
          for (_, field) in self.fields.items():
              field.widget.attrs['disabled'] = 'disabled'
  