if your migrations are successful run queries through manage.py shell There is existing User model inside django.contrb.auth.User
On Wed, Nov 13, 2019 at 3:49 PM Paras Jain <parasjain...@gmail.com> wrote: > i have just created a model which will have login information in database > but it is not showing its appearance i have also done migration > > models.py: > > from django.db import models > > # Create your models here. > class User(models.Model): > email = models.EmailField() > password = models.CharField(max_length=50) > > def __str__(self): > return '{}'.format(self.email) > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAMtmBS_GUL4vj5QPRd%2BqFLDkbnjRr_m%3DRbbt4QgG3sW-QbDVyQ%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAMtmBS_GUL4vj5QPRd%2BqFLDkbnjRr_m%3DRbbt4QgG3sW-QbDVyQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKroR%2B139BnAHBORc33TCXDetsp5TvMgq6_Da4w7xCksZBmJRg%40mail.gmail.com.