Unique Field

35 views
Skip to first unread message

Soumen Khatua

unread,
Jan 21, 2020, 10:11:29 AM1/21/20
to django...@googlegroups.com
Hi Folks,

Is their any other library or module is available except UUID which can generate unique number in python?

As I mentioned earlier I want to use random unique number in django for billion user. Just like account number,please tell me any unique module.

Thank You In advance

Thank You

Regards,
Soumen

Irfan Khan

unread,
Jan 21, 2020, 10:16:30 AM1/21/20
to django...@googlegroups.com
You can use nano library to generate unique numbers or characters 

--
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/CAPUw6WZXQMhk8k25LSPM_BfYhKVvQ3pVFRu3f4nrvfYZ3%2BheaQ%40mail.gmail.com.

Soumen Khatua

unread,
Jan 21, 2020, 10:32:56 AM1/21/20
to django...@googlegroups.com
Could you share any documentation link,please?? 

Irfan Khan

unread,
Jan 21, 2020, 3:10:36 PM1/21/20
to django...@googlegroups.com

Soumen Khatua

unread,
Jan 21, 2020, 3:14:01 PM1/21/20
to django...@googlegroups.com
Irfan- Are you sure it will generate unique id for 10 billion people. 

Irfan Khan

unread,
Jan 21, 2020, 3:42:31 PM1/21/20
to django...@googlegroups.com
No I didn’t check that one, it will generate unique id’s for you but how many you wanted to generate you must write code explicitly with some logic 

Soumen Khatua

unread,
Jan 21, 2020, 3:43:57 PM1/21/20
to django...@googlegroups.com
Okay
Thanks for the information. 

Reply all
Reply to author
Forward
0 new messages