Fixed 500 error in tests

This commit is contained in:
ITQ
2024-02-28 15:40:56 +03:00
parent b206a71909
commit baa5be9aea
3 changed files with 17 additions and 24 deletions
+3
View File
@@ -7,5 +7,8 @@ class Country(models.Model):
alpha3 = models.CharField(max_length=3)
region = models.CharField()
class Meta:
db_table = "countries"
def __str__(self):
return self.name