from django.db import models


class Country(models.Model):
    name = models.CharField(max_length=50, blank=False, default="")
    capital = models.CharField(max_length=50, blank=False, default="")

    def __str__(self):
        return self.name

    class Meta:
        ordering = ("id",)
        verbose_name = "country"
        verbose_name_plural = "countries"
