title: Django ORM Which technique is better?
body: <p>I have a project.</p>
  
  <p><code>project = Project.objects.get(id=1)</code></p>
  
  <p>and now i want to select the data from related tables of project. It can be done it 2 ways, let me know which one is better. and why?</p>
  
  <p><code>attachments = project.attachments_set.all()
  samples = project.projectsamples_set.all()</code></p>
  
  <h2>OR</h2>
  
  <p><code>attachments = Attachments.objects.filter(project=ctx['project'])
  samples = ProjectSamples.objects.filter(project=ctx['project'])</code></p>
  
  <p>I would like to know the Technical prospective.</p>