text: from django.shortcuts import render, get_object_or_404
  from .forms import *
  from .models import *
  
  def index(request):
      return render(request, 'views/index.html')
  
  def gallery(request):
      galleries = Galeria.objects.all()
      return render(request, 'views/gallery.html', {'galleries': galleries})
  
  def gallery_photo(request, slug, id):
      photo = get_object_or_404(GaleriaZdjęcia, galeria__slug=slug, id=id)
      return render(request, 'views/photo.html', {'photo': photo})
  
  def contact(request):
      form = KontaktForm
      return render(request, 'views/contact.html', {'form': form})
  
  def offer(request):
      return render(request, 'views/offer.html')
  
  def about(request):
      return render(request, 'views/about.html')
  