1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-02 11:45:17 +02:00

Translate some regions into english

This commit is contained in:
Sean Morley 2024-08-20 17:47:37 -04:00
parent 027956a015
commit 53272a58f8
6 changed files with 498 additions and 475 deletions

View file

@ -45,6 +45,7 @@ class Country(models.Model):
class Region(models.Model):
id = models.CharField(primary_key=True)
name = models.CharField(max_length=100)
name_en = models.CharField(max_length=100)
country = models.ForeignKey(Country, on_delete=models.CASCADE)
def __str__(self):