We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 88ab478 + 6d4376a commit f407231Copy full SHA for f407231
dj_elastictranscoder/transcoder.py
@@ -53,5 +53,5 @@ def create_job_for_object(self, obj):
53
job = EncodeJob()
54
job.id = self.message['Job']['Id']
55
job.content_type = content_type
56
- job.object_id = obj.id
+ job.object_id = obj.pk
57
job.save()
0 commit comments