Randomly Generate a "Certificate of Completion"

已查看 40 次
跳至第一个未读帖子

Lightning Bit

未读,
2020年10月21日 11:26:162020/10/21
收件人 Django users
Hi All, 

Where should one start to randomly generate a "Certificate of Completion" with the user's name, a certificate ID, and certificate title? I want for this certificate to appear upon the user making it to a specific URL and for the certificate to have a special ID for each user. 

Also, how would one be able to make these certificates shareable on social media platforms?

Thanks all, I hope that someone can help with this Django predicament.

Derek

未读,
2020年10月22日 09:12:082020/10/22
收件人 Django users
You'd need to have a profile for each user, so you can track if they reach the URL (true/false) and then use their email or internal ID or a generated UUID for the certificate (you could store this extra code as well if needed).

For generating a certificate, I'd use a PDF format; this would create a downloadable file they could share themselves on other platforms:

Alternatively, generate a PNG image which can also be downloaded or shared ( https://code-maven.com/create-images-with-python-pil-pillow ) - this could also be displayed along with their other profile info.

King Niko

未读,
2020年10月22日 21:57:512020/10/22
收件人 django...@googlegroups.com
This is perfect. Thank you Derek!

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4264068c-54b4-4b74-8c0d-f64dda24cc55n%40googlegroups.com.
回复全部
回复作者
转发
0 个新帖子