mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Removed unneeded lookups
This commit is contained in:
@@ -111,8 +111,6 @@ class Audit(models.Model):
|
||||
|
||||
date = models.DateTimeField(auto_now_add=True, verbose_name="Event Date")
|
||||
|
||||
def event_description(self):
|
||||
return AUDIT_EVENT_LOOKUP[self.event]
|
||||
|
||||
class Blacklist(models.Model):
|
||||
type = models.IntegerField(choices=BLACKLIST_TYPE_CHOICES,
|
||||
|
||||
Reference in New Issue
Block a user