title: Check belonging before deletion
body: <p>This is working for me, I am just wondering if it is the "safe" or recommended way of doing things.</p>
  
  <pre><code>def yours(obj, request):
      if obj.user == request.user:
          return True
      else:
          return False
  
  @login_required
  def classroom_delete(request, pk, template_name='reports/classroom_confirm_delete.html'):
  
      classroom = get_object_or_404(Classroom, pk=pk)
  
      # Is this enough?
      if not yours(classroom, request):
          HttpResponseRedirect('/')
  </code></pre>
  
  <p>I am going to implement it in all my delete functions which delete objects that have foreign keys to users.</p>