python - Change to Django's User Model - Migration issues -
i have used own user model till , realized django's user model offers me things have create on own... why not take django's user model..
now changed user model , made inherit django user model adding:
class user(user).. and tried migrate db these steps:
1. python manage.py schemamigration home --auto -- asked me give default values these 2 columns mean down here 2. python manage.py migrate home 3. error 3.error says user_ptr_id exists double , thats why couldnot create unique index user_pkey.
what can can migrate?
Comments
Post a Comment