text: from django.shortcuts import render
  from django.contrib.auth.decorators import login_required
  from .models import Event, Entry
  
  
  @login_required
  def about(request):
      return render(request, 'orimanager/about.html')
  
  
  @login_required
  def events(request):
      context = {
          'events': Event.objects.filter(creator=request.user.id)
      }
      return render(request, 'orimanager/events.html', context)
  
  
  @login_required
  def event(request, event_id):
      context = {
          'entries': Entry.objects.filter(event=event_id),
          'event': Event.objects.get(id=event_id)
      }
      return render(request, 'orimanager/event.html', context)
  