from django.db import models
from django.contrib.auth.models import User

# CORE APPLICATION
# Create your models here.
class Member(models.Model):
    user = models.OneToOneField(User)
    description = models.CharField(max_length=250)
    date_of_birth = models.DateField()
    location = models.CharField(max_length=100)
    gender = models.CharField(max_length=15)

class NewTable(models.Model):
test = models.CharField(max_length=25)

I've created some models and I used makemigrations and migrate. I went to 
my db and checked that only the default tables are there (auth_group ... 
django_session). I know that my connection settings are right and that I 
see new rows being added to the auth_user table when I create users in 
django admin page. 

Is there something that I must have missed out?

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/091ed34c-dc89-47a1-bef5-6fea7159c8a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to