Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Where did you send it to the group? Or the user?
1. Through the database
2. Through this construction:
Example:
def getRegData(user, title, name):
t = Template('$title *$name* \n Имя клиента: *$fullname* \n VIN-номер:*$vin* \n Телефон: *$phone* \n Комментарии: *$doit*')
return t.substitute({
'title': title,
'name': name,
'fullname': user.fullname,
'vin': user.vin,
'phone': user.phone,
'doit': user.doit,
})
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question