mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
Use new-style class for Meta
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
This commit is contained in:
parent
2ec35566c6
commit
f023a8652b
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ class CommonAccess(models.Model):
|
|||
auto_now_add=True,
|
||||
)
|
||||
|
||||
class Meta:
|
||||
class Meta(object):
|
||||
app_label = 'axes'
|
||||
abstract = True
|
||||
ordering = ['-attempt_time']
|
||||
|
|
|
|||
Loading…
Reference in a new issue