Closed murdav closed 7 years ago
When you separate your User service from other code, you can only get the user_id in many cases. So we use a user_id instead of a ForeignKey to do this. If you want to use a UUID user_id, you can fork this repo and do some change to implement it.
Thanks for replying, that is what I did.
D
Dear Author,
We are thinking to use user ID as a UUID.
Example:
While in the Vote model we have the bigint field.
Do you think it's accetable to change
user_id = models.BigIntegerField()
touser = models.ForeignKey(settings.AUTH_USER_MODEL,
as suggested here.
Thanks so much,
D