This commit is contained in:
Holger Sielaff
2024-09-21 12:33:00 +02:00
parent be447f4862
commit 5b1c2ce0c9
5 changed files with 15 additions and 4 deletions

View File

@@ -94,6 +94,7 @@ def release_submitted(sender, instance: SubmittedQuestion, **kwargs):
buzzword=instance.buzzword,
question=instance.question,
awnser=instance.awnser,
is_published=True,
)
try:
n.labels.set(instance.labels.all())