from django.shortcuts import render
from django.http import HttpResponse

# Create your views here.

def index(request):
    #return render(request, 'posts/index.html')

    #context = # hier muss Datenbank ausgelesen werden:
    # for curr_msg in Notice.objects.all():
    #   if (curr_msg.pub_start > datetime.now() and curr_msg.pub_end < date......
    #   context +=
    return render(request, 'posts/allMessages.html')
