some field name changes

This commit is contained in:
Parsa Nazer
2025-02-21 02:02:35 +03:30
parent 4f0060f0ae
commit e48550888c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -238,7 +238,7 @@ class SecurityBreachAttemptModel(models.Model):
super().save(*args, **kwargs)
def __str__(self):
return f'تلاش نفوذ از {self.ip} در {self.city}, {self.country}'
return f'تلاش نفوذ از {self.ip_address} در {self.city}, {self.country}'
class Meta:
verbose_name = "تلاش نفوذ"
verbose_name_plural = "تلاش‌های نفوذ"
+2 -2
View File
@@ -95,10 +95,10 @@
{{ original.isp }}
</span>
{% endif %}
{% if original.ip %}
{% if original.ip_address %}
<span style="display: inline-flex; align-items: center;">
<i class="fas fa-network-wired mr-1"></i>
{{ original.ip }}
{{ original.ip_address }}
</span>
{% endif %}
</div>