emile 9 months ago
parent 0e7e457e74
commit 5e7513147f

@ -17,7 +17,7 @@ class Visitor(models.Model):
email = models.CharField(max_length=100, null=True, blank=True)
@property
def flag_image_url(self):
flag_url = f"http://192.168.1.109:8000/static/images/flags/{self.country.lower()}.svg/"
flag_url = f"https://osina.ositcom.com/static/images/flags/{self.country.lower()}.svg/"
return flag_url

Loading…
Cancel
Save