from django.db import models

class Author(models.Model):
    name = models.CharField(max_length=256)
    website = models.URLField(blank=True, null=True)
    photo = models.ImageField(null=True)  # Author could subclass a User profile model that has profile photos as well

7b2ff8a890f2c7f056823361fc91e3e0bbf4fd37
<mask token>

<mask token>


class Author(models.Model):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Author(models.Model):
    name = models.CharField(max_length=256)
    website = models.URLField(blank=True, null=True)
    photo = models.ImageField(null=True)

from django.db import models


class Author(models.Model):
    name = models.CharField(max_length=256)
    website = models.URLField(blank=True, null=True)
    photo = models.ImageField(null=True)

from django.db import models

class Author(models.Model):
    name = models.CharField(max_length=256)
    website = models.URLField(blank=True, null=True)
    photo = models.ImageField(null=True)  # Author could subclass a User profile model that has profile photos as well
