# -*- coding: utf-8 -*-

from django.contrib.auth.decorators import permission_required
from rappel.models import Rappel
import datetime


@permission_required("rappel.can_use_rappel")
def list_rappel(request):
    list_of_rappel = Rappel.objects.filter(date__lte=datetime.datetime.now()).filter(user=request.user)
    return list_of_rappel.order_by("date")

c9d0391fc57ca5d62888b96f49cb0cc14ed2ab80
<mask token>

<mask token>


@permission_required('rappel.can_use_rappel')
def list_rappel(request):
    list_of_rappel = Rappel.objects.filter(date__lte=datetime.datetime.now()
        ).filter(user=request.user)
    return list_of_rappel.order_by('date')

from django.contrib.auth.decorators import permission_required
from rappel.models import Rappel
import datetime


@permission_required('rappel.can_use_rappel')
def list_rappel(request):
    list_of_rappel = Rappel.objects.filter(date__lte=datetime.datetime.now()
        ).filter(user=request.user)
    return list_of_rappel.order_by('date')

# -*- coding: utf-8 -*-

from django.contrib.auth.decorators import permission_required
from rappel.models import Rappel
import datetime


@permission_required("rappel.can_use_rappel")
def list_rappel(request):
    list_of_rappel = Rappel.objects.filter(date__lte=datetime.datetime.now()).filter(user=request.user)
    return list_of_rappel.order_by("date")
