kopia lustrzana https://github.com/jointakahe/takahe
add some debugging
rodzic
b1aaa96bb5
commit
c6257ebadb
|
@ -854,6 +854,7 @@ class Post(StatorModel):
|
|||
if author.domain.blocked:
|
||||
raise cls.DoesNotExist("Post is from a blocked domain")
|
||||
try:
|
||||
print(f"attempting to create post with ID {data['id']}")
|
||||
post = cls.objects.create(
|
||||
object_uri=data["id"],
|
||||
author=author,
|
||||
|
|
Ładowanie…
Reference in New Issue