"""Models."""
from django.db import models


# Create your models here.


class ImagerProfile(models.Model):
    """Imager Profile Model."""

    camera_model = models.CharField(max_length=200)
    photography_type = models.TextField()
    friends = models.ManyToManyField('self')
    region = models.CharField(max_length=200)




@@ -36,16 +36,60 @@
  models%0A
+from django.contrib.auth.models import User%0A
 %0A%0A# Crea
@@ -276,16 +276,18 @@
 ld()%0A   
+ #
  friends
@@ -366,11 +366,423 @@
 th=200)%0A
+    user = models.OneToOneField(User, unique=True, null=False)%0A%0A    def is_active(self):%0A        %22%22%22Return if the user can log in.%22%22%22%0A        return self.user.is_active%0A%0A%0Aclass ActiveUserManager(models.Manager):%0A    %22%22%22Manager to grab active users.%22%22%22%0A%0A    def get_query_set(self):%0A        %22%22%22Return only active users.%22%22%22%0A        return super(ActiveUserManager, self).get_query_set().filter(user.is_active())%0A%0A%0A%0A
 %0A%0A%0A

Add model manager, still needs work