def requeue_failed_jobs(modeladmin, request, queryset):
    fq = FailedQueue.create(CONN)
    for job in queryset:
        fq.requeue(job.id)
Test Security reset password
dataset/ETHPy150Open bretth/django-pq/pq/admin.py/requeue_failed_jobs--crossover with--dataset/ETHPy150Open dpgaspar/Flask-AppBuilder/flask_appbuilder/tests/test_mongoengine.py/FlaskTestCase.test_sec_reset_password