Slightly more compact would be:

```python
submission_models = Submission.objects.filter(student_item=student_item)  # assuming you did the change above
if limit:
    submission_models = submission_models[:limit]
```