Use commas not tabs to delimit service info

Zendesk strips out the tabs. Commas are the next best thing because
Excel will automatically use them if you select ‘Split text into
columns’.
This commit is contained in:
Chris Hill-Scott
2018-08-30 14:17:32 +01:00
parent 86ad77e545
commit 3c563ddca6
3 changed files with 10 additions and 11 deletions

View File

@@ -85,7 +85,6 @@ class Development(Config):
API_HOST_NAME = 'http://localhost:6011'
DANGEROUS_SALT = 'dev-notify-salt'
SECRET_KEY = 'dev-notify-secret-key'
ZENDESK_API_KEY = "some-key"
class Test(Development):

View File

@@ -228,15 +228,15 @@ def submit_request_to_go_live(service_id):
'\n'
'\n---'
'\n'
'{service_id}\t'
'{organisation}\t'
'{service_name}\t'
'{user_name}\t'
'{user_email}\t'
'-\t'
'{date}\t'
'{volume_sms}\t'
'{volume_email}\t'
'{service_id}, '
'{organisation}, '
'{service_name}, '
'{user_name}, '
'{user_email}, '
'-, '
'{date}, '
'{volume_sms}, '
'{volume_email}, '
'{volume_letter}'
).format(
service_name=current_service.name,