Randomly Generate a "Certificate of Completion"

40 مرّة مشاهدة
التخطي إلى أول رسالة غير مقروءة

Lightning Bit

غير مقروءة،
21‏/10‏/2020، 11:26:16 ص21‏/10‏/2020
إلى 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

غير مقروءة،
22‏/10‏/2020، 9:12:08 ص22‏/10‏/2020
إلى 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

غير مقروءة،
22‏/10‏/2020، 9:57:51 م22‏/10‏/2020
إلى 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 رسالة جديدة