text: from django.shortcuts import render
  from django.http import HttpResponse
  from .models import Photo, Category, Tag, Article
  
  # Create your views here.
  
  def index(request):
      articles = Article.objects.all()
      if articles is None:
          print('no articles')
      else:
          print('have articles')
      context = {
          'articles': articles,
      }
      return render(request, 'home.html', context)
  