Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Commit 6d4376a

Browse files
committed
Merge pull request StreetVoice#10 from morris-tech/patch-1
Referencing object with id breaks
2 parents c0c234c + bd8571c commit 6d4376a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dj_elastictranscoder/transcoder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ def create_job_for_object(self, obj):
5353
job = EncodeJob()
5454
job.id = self.message['Job']['Id']
5555
job.content_type = content_type
56-
job.object_id = obj.id
56+
job.object_id = obj.pk
5757
job.save()

0 commit comments

Comments
 (0)