Reputation: 682
I am using Django Rest framework for my application. I almost implemented registration and login process using django User Model without customizing it now i want to add a uuid field in it. Is there any way we can just add uuid field and other process remains same?
Upvotes: 2
Views: 3751
Reputation: 6112
Adding UUIDField to existing models is not so easy but you can read an How-To in the official Django documentation in the specific section (I updated it few months ago) :
Migrations that add unique fields.
Upvotes: 6