i want to store the information who created the object ???
trying something like this ..
def event_submitted(sender,instance,created,**args):
if created:
content_type = ContentType.objects.get(app_label='activity', model='event')
ModerationItem.objects.create(submitted_by= ?????, # what to put here
submitted_remarks=instance.remarks,
activity_content_type=content_type,
activity_object_id=instance.id,
)
signals.post_save.connect(event_submitted , sender = Event)