else:
contextAvailability = {
'games': Games.objects.get(id_num=self.kwargs.get('slug'), game_currency=True),
'form': form,
'text': ContextText.objects.all(),
'availability': Availability.objects.filter(server__name=servers,
server__id_num=self.kwargs.get('slug'))
}
return render(request, 'Pay/games_detail.html', contextAvailability)
elif not isinstance(price, int):
raise ValidationError('Это не число!')