예제 #1
0
def delete_reminder(request):
    """
        Borra un evento
        Parametros en POST
            eventid : el id de la alerta a borrar
    """
    eventid = request.POST.get('eventid', None)
    geoalert.del_alert(request, eventid)    
    return HttpResponse()
예제 #2
0
def delete_reminder(request):
    """
        Borra un evento
        Parametros en POST
            eventid : el id de la alerta a borrar
    """
    eventid = request.POST.get('eventid', None)
    geoalert.del_alert(request, eventid)
    return HttpResponse()
예제 #3
0
def delete_reminder(request):
    id = request.POST.get('id', None)
    geoalert.del_alert(request, id)    
    return HttpResponse()