from django.contrib.auth.models import User
class Employee(models.Model):
user = models.OneToOneField(User, on_delete=models.CASCADE)
department = models.BoolField(default=False)
>>> u = User.objects.get(username='fsmith')
>>> freds_department = u.employee.department
[\.|\#|\s*] строка (.+\n)+[}]