some field name changes
This commit is contained in:
@@ -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 = "تلاشهای نفوذ"
|
||||
Reference in New Issue
Block a user