adding str to models although it s not a strict requirement each model should have a str method to return a humanreadable representation of the object do this not only for your own sanity when dealing with the interactive prompt but also because objects representations are used throughout django s automaticallygenerated admin
from django.db import models


class InternationalArticle(models.Model):
    headline = models.CharField(max_length=100)
    pub_date = models.DateTimeField()

    def __str__(self):
        return self.headline