Fixed 500 error in tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user