Monday, November 26, 2018

unable to do migrate when defining custom user model

i am defining my own custom user model using AbstractBaseUser class and BaseUserManager class.
and i got no error when doing 'python manage.py makemigrations'
but it is showing that db  not created while running 'python manage.py migrate' .

Any suggestions?

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMsYeuG4XB26rXw-_yckY5zx80SSgv-c9Zc%2Bs2HfdnS8L3oEcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment