Discussion:
unable to do migrate when defining custom user model
shiva kumar
2018-11-26 17:12:58 UTC
Permalink
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+***@googlegroups.com.
To post to this group, send email to django-***@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.
Jim Lamb
2018-11-27 02:59:34 UTC
Permalink
Send us some code
--
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+***@googlegroups.com.
To post to this group, send email to django-***@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/da93fe62-c3d4-41c3-9e59-cad67c0ed80f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...