new_contents: 
  import logging
  logger = logging.getLogger(__name__)
  
  from datetime import datetime
  
  from django.db import models
  
  
  class Party(models.Model):
      name = models.CharField(max_length=200)
      seats = models.IntegerField()
      url = models.URLField(blank=True, null=False, default='')
      icon_url = models.ImageField(blank=True, null=True)
  
      def __str__(self):
          return self.name
  
  
  class Member(models.Model):
      name = models.CharField(max_length=200)
      party = models.ForeignKey(Party)
  
      def __str__(self):
          return self.name + ' (' + str(self.party) + ')'
  
  
  class Bill(models.Model):
      AMENDEMENT = 'AM'
      MOTIE = 'MO'
      WETSVOORSTEL = 'WV'
  
      TYPES = (
          (AMENDEMENT, 'Amendement'),
          (MOTIE, 'Motie'),
          (WETSVOORSTEL, 'Wetsvoorstel'),
      )
  
      title = models.CharField(max_length=500)
      original_title = models.CharField(max_length=500, blank=True, null=False, default='')
      author = models.ForeignKey(Member)
      type = models.CharField(max_length=2, choices=TYPES)
      datetime = models.DateTimeField(default=datetime.now, editable=True, blank=True)
      document_url = models.URLField(blank=True, null=False, default='')
  
      def get_votes(self):
          return Vote.objects.filter(bill=self)
  
      def __str__(self):
          return self.title + ' (' + str(self.author) + ')'
  
  
  class Vote(models.Model):
      FOR = 'FO'
      AGAINST = 'AG'
  
      CHOICES = (
          (FOR, 'Voor'),
          (AGAINST, 'Tegen'),
      )
  
      bill = models.ForeignKey(Bill)
      party = models.ForeignKey(Party)
      decision = models.CharField(max_length=2, choices=CHOICES)
      details = models.CharField(max_length=2000, blank=True, null=False, default='')
  
      def __str__(self):
          return str(self.bill) + ' - ' + str(self.party) + ' - ' + self.decision 
  
subject: Add missing models file