When I do manage.py syncdb I get:
Error: One or more models did not validate:
users.userprofile: "uuid": Primary key fields cannot have null=True.
even though my class UserProfile(models.Model) have:
uuid = UUIDField(primary_key=True, auto=True, editable=False)
The comment from Daniel was probably it, I just didn’t know how to follow the clue.
The fix, that came from Joshua, was to remove the official
django-uuidfield‘s and replace them with Joshua’s fork.Remember to
pip uninstall django-uuidfieldandpip uninstall django-uuidfield-2beforepip install -r requirements.txt.