Fix pycodestyle
This commit is contained in:
@@ -41,4 +41,5 @@ class OhlhafvChallenge(models.Model):
|
||||
"""Return model info."""
|
||||
return _('Ohlhafv challenge: {} vs. {}').format(self.challenger, self.victim)
|
||||
|
||||
|
||||
auditlog.register(OhlhafvChallenge)
|
||||
|
||||
@@ -6,6 +6,7 @@ from django.core.mail import send_mail
|
||||
from datetime import timedelta
|
||||
import logging
|
||||
|
||||
|
||||
def month_from_now():
|
||||
"""Return date one month from now."""
|
||||
return timezone.now() + timedelta(days=30)
|
||||
|
||||
Reference in New Issue
Block a user