try to debug database bug

This commit is contained in:
Parsa Nazer
2025-02-21 01:55:50 +03:30
parent a49f362a5a
commit 944158fa81
3 changed files with 37 additions and 1 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ def get_location_from_ip(ip_address):
return None
class SecurityBreachAttemptModel(models.Model):
ip = models.CharField(max_length=100, unique=True, verbose_name="آدرس آی‌پی")
ip = models.CharField(max_length=100, verbose_name="آدرس آی‌پی")
country = models.CharField(max_length=40, verbose_name="کشور", blank=True, null=True)
region_name = models.CharField(max_length=40, verbose_name="منطقه", blank=True, null=True)
city = models.CharField(max_length=40, verbose_name="شهر", blank=True, null=True)