Hello,

My model consists of user details such as username and his id which is 
auto-generated by DB(indexing). 
Apart from this, I need to assign a random unique 9 digit number for every 
user.
The reason for assigning a random number to a registered user is to search 
a particular user using his permanent random id which we have generated.

Solutions with the model description will be very helpful.


Thank you!

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8eb92ef2-ffe0-431d-b4aa-3d6c5a119c3f%40googlegroups.com.

Reply via email to