import six

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


PUBLISHED_CHOICES = (
    ('private', 'private'),
    ('shared', 'shared'),
    ('public', 'public')
)


@six.python_2_unicode_compatible
class Photo(models.Model):
    user = models.ForeignKey(
        User,
        null=False
    )
    photo = models.ImageField(upload_to='photo_files/%Y-%m-%d')
    title = models.CharField(max_length=256)
    description = models.TextField()
    date_uploaded = models.DateField(auto_now_add=True)
    date_modified = models.DateField(auto_now=True)
    date_published = models.DateField()
    published = models.CharField(
        max_length=256,
        choices=PUBLISHED_CHOICES,
        default='private'
    )

    def __str__(self):
        return "Photo: {}".format(self.title)


@six.python_2_unicode_compatible
class Album(models.Model):
    user = models.ForeignKey(
        User,
        null=False
    )
    photos = models.ManyToManyField(
        Photo,
        related_name='album'
    )
    title = models.CharField(max_length=256)
    description = models.TextField()
    date_uploaded = models.DateField(auto_now_add=True)
    date_modified = models.DateField(auto_now=True)
    date_published = models.DateField()
    published = models.CharField(
        max_length=256,
        choices=PUBLISHED_CHOICES,
        default='private'
    )
    cover = models.ForeignKey(
        Photo,
        related_name='cover_photo'
    )

    def __str__(self):
        return "Album: {}".format(self.title)

@@ -776,27 +776,8 @@
 urn 
-%22Photo: %7B%7D%22.format(
 self
@@ -782,17 +782,16 @@
 lf.title
-)
 %0A%0A%0A@six.
@@ -1486,27 +1486,8 @@
 urn 
-%22Album: %7B%7D%22.format(
 self
@@ -1492,10 +1492,9 @@
 lf.title
-)
 %0A

Change imager_images __str__