root(minor): allow subapps to define CELERY_BEAT_SCHEDULE

This commit is contained in:
Langhammer, Jens
2019-10-11 12:47:29 +02:00
parent fc69b6851d
commit 0154def916
4 changed files with 11 additions and 4 deletions

View File

@ -60,7 +60,8 @@ class AuditEntry(UUIDModel):
# User 255.255.255.255 as fallback if IP cannot be determined
request_ip=client_ip or '255.255.255.255',
context=kwargs)
LOGGER.debug("Logged %s from %s (%s)", action, user, client_ip)
LOGGER.debug("Created Audit entry", action=action,
user=user, from_ip=client_ip, context=kwargs)
return entry
def save(self, *args, **kwargs):