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

@@ -51,7 +51,7 @@ def submit_question(request):
question=form.cleaned_data['question'],
awnser=form.cleaned_data['awnser'],
)
messages.info(request, f"Angelegt mit ID {subq.id}")
messages.info(request, f"Die Frage wurde eingereicht")
return render(request, 'submit-question.html', {'form': SubmitQuestion()})
else:
[messages.error(request,f'Error in {err}') for err in form.errors]