import datetime

from django.db import models

from .managers import EntryManager

class Entry(models.Model):
    config = models.ForeignKey('config.Config')

    enqueued = models.DateTimeField(default=datetime.datetime.utcnow)
    started = models.DateTimeField(null=True)
    finished = models.DateTimeField(null=True)
    success = models.BooleanField(default=False)

    objects = EntryManager()

    class Meta:
        ordering = ('-enqueued',)

import datetime

from django.db import models

from .managers import EntryManager

class Entry(models.Model):
    config = models.ForeignKey('config.Config')

    enqueued = models.DateTimeField(default=datetime.datetime.utcnow)
    started = models.DateTimeField(null=True)
    finished = models.DateTimeField(null=True)
    success = models.BooleanField(default=False)

    objects = EntryManager()

    class Meta:
        ordering = ('-enqueued',)
        verbose_name_plural = 'Entries'

Set verbose_name_plural properly for queue.Entry.
Set verbose_name_plural properly for queue.Entry.

Signed-off-by: Chris Lamb <29e6d179a8d73471df7861382db6dd7e64138033@debian.org>

  import datetime
  
  from django.db import models
  
  from .managers import EntryManager
  
  class Entry(models.Model):
      config = models.ForeignKey('config.Config')
  
      enqueued = models.DateTimeField(default=datetime.datetime.utcnow)
      started = models.DateTimeField(null=True)
      finished = models.DateTimeField(null=True)
      success = models.BooleanField(default=False)
  
      objects = EntryManager()
  
      class Meta:
          ordering = ('-enqueued',)
+         verbose_name_plural = 'Entries'
  
Set verbose_name_plural properly for queue.Entry.
## Code Before:
import datetime

from django.db import models

from .managers import EntryManager

class Entry(models.Model):
    config = models.ForeignKey('config.Config')

    enqueued = models.DateTimeField(default=datetime.datetime.utcnow)
    started = models.DateTimeField(null=True)
    finished = models.DateTimeField(null=True)
    success = models.BooleanField(default=False)

    objects = EntryManager()

    class Meta:
        ordering = ('-enqueued',)

## Instruction:
Set verbose_name_plural properly for queue.Entry.
## Code After:
import datetime

from django.db import models

from .managers import EntryManager

class Entry(models.Model):
    config = models.ForeignKey('config.Config')

    enqueued = models.DateTimeField(default=datetime.datetime.utcnow)
    started = models.DateTimeField(null=True)
    finished = models.DateTimeField(null=True)
    success = models.BooleanField(default=False)

    objects = EntryManager()

    class Meta:
        ordering = ('-enqueued',)
        verbose_name_plural = 'Entries'
