mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-02 03:35:18 +02:00
Add capital to countries
This commit is contained in:
parent
4dc11db21d
commit
6ac3f0541f
6 changed files with 39 additions and 5 deletions
|
@ -14,6 +14,7 @@ class Country(models.Model):
|
|||
name = models.CharField(max_length=100)
|
||||
country_code = models.CharField(max_length=2, unique=True) #iso2 code
|
||||
subregion = models.CharField(max_length=100, blank=True, null=True)
|
||||
capital = models.CharField(max_length=100, blank=True, null=True)
|
||||
|
||||
class Meta:
|
||||
verbose_name = "Country"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue