def METHOD_NAME(self, request, *args, **kwargs):
    if 'file' not in request.FILES:
        return redirect(reverse('control:event.orders.import', kwargs={
            'event': request.event.slug,
            'organizer': request.organizer.slug,
        }))
    if not request.FILES['file'].name.lower().endswith('.csv'):
        messages.error(request, _('Please only upload CSV files.'))
        return redirect(reverse('control:event.orders.import', kwargs={
            'event': request.event.slug,
            'organizer': request.organizer.slug,
        }))
    if request.FILES['file'].size > settings.FILE_UPLOAD_MAX_SIZE_OTHER:
        messages.error(request, _('Please do not upload files larger than 10 MB.'))
        return redirect(reverse('control:event.orders.import', kwargs={
            'event': request.event.slug,
            'organizer': request.organizer.slug,
        }))
    cf = CachedFile.objects.create(
        expires=now() + timedelta(days=1),
        date=now(),
        filename='import.csv',
        type='text/csv',
    )
    cf.file.save('import.csv', request.FILES['file'])
    return redirect(reverse('control:event.orders.import.process', kwargs={
        'event': request.event.slug,
        'organizer': request.organizer.slug,
        'file': cf.id
    }))