title: How can I send userid from form request to pre_ or post_delete signal?
body: <p>Another question form novice.
  I have some form:</p>
  
  <pre><code>class SomeForm(forms.ModelForm):
  ...
  def save(self, commit=False):
   instance = SomeModel(field='value1')
   instance.userid = self.request.user.id
   instance.delete()
   instance = SomeModel(field='value2')
   instance.userid = self.request.user.id
   instance.save()
  </code></pre>
  
  <p>In post_save signal:</p>
  
  <pre><code>@receiver(post_save,sender=SomeModel)
  def pre_save_model(sender,instance,**kwargs):
   print(instance.userid)
  </code></pre>
  
  <p>it works fine.
  But in post_delete:</p>
  
  <pre><code>@receiver(post_delete,sender=SomeModel)
  def post_delete_model(sender,instance,**kwargs):
   print(instance.userid)
  </code></pre>
  
  <p>it says:</p>
  
  <pre><code>AttributeError: 'SomeModel' object has no attribute 'userid'
  </code></pre>
  
  <p>I guess, than I can't understand something important. But what?</p>
  
  <p><strong>Update:</strong></p>
  
  <p><em>I realized:</em></p>
  
  <p>That was an error :</p>
  
  <pre><code>instance = SomeModel(field='value1')
  instance.userid = self.request.user.id
  instance.delete()
  </code></pre>
  
  <p>should be  </p>
  
  <pre><code>instance = SomeModel.objects.filter(field='value1')
  instance.userid = self.request.user.id
  instance.delete()
  </code></pre>
  
  <p>So, instance is an QuerySet. Further it must be processed for every object of instance:</p>
  
  <pre><code>def save(self, commit=False):
   queryset = SomeModel.objects.filter(field='value1')
   for instance in queryset:
    instance.userid = self.request.user.id
    instance.delete()
   instance = SomeModel(field='value2')
   instance.userid = self.request.user.id
   instance.save()
  </code></pre>