I am trying to extend my model to include User but without much luck.
from django.db import models from django.contrib.auth.models import User class Tes
You are not passing a User instance to your class TestModel:
do something like this:
from django.contrib.auth.models import User us = User.objects.all()[0] t = TestModel(user=us) t.save() print t