django model set foreign key to dgango aith user table code example Example: django import user from django.contrib.auth.models import User