That was also dumb, fix that too

This commit is contained in:
2023-06-26 22:36:20 +01:00
parent e842471b9e
commit 13fec124c6

View File

@@ -395,7 +395,7 @@ class CreateForumThread(generic.base.RedirectView):
params = { params = {
'title': str(event), 'title': str(event),
'body': f'<span class="hidden" id="event-id">{event.pk}</span>https://rigs.nottinghamtec.co.uk/event/{event.pk}' 'body': f'<span class="hidden" id="event-id">{event.pk}</span>https://rigs.nottinghamtec.co.uk/event/{event.pk}',
'category': 'rig-info' 'category': 'rig-info'
} }
return f'https://forum.nottinghamtec.co.uk/new-topic?{urllib.parse.urlencode(params)}' return f'https://forum.nottinghamtec.co.uk/new-topic?{urllib.parse.urlencode(params)}'