@user_passes_test(is_in_prereg_group)
def view_draft(request, draft_pk):
    draft = get_draft_or_error(draft_pk)
    context = {
        'draft': serializers.serialize_draft_registration(draft)
    }
    return render(request, 'pre_reg/edit_draft_registration.html', context)
Redirects to prereg form review page if user has prereg access
dataset/ETHPy150Open CenterForOpenScience/osf.io/admin/pre_reg/views.py/view_draft