mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-09 16:29:41 +00:00
That was also dumb, fix that too
This commit is contained in:
@@ -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)}'
|
||||||
|
|||||||
Reference in New Issue
Block a user