I'd rather make it:
```
if quantity is None:
    return cleaned_data
```

Exit quickly and avoid indenting everything even more.