a bit less verbosity -- this gets imported a lot if you're using runserver

This commit is contained in:
Mike Blume 2010-09-20 22:18:09 +00:00
parent 62f43b97d2
commit cf8cf00f94

View file

@ -57,8 +57,9 @@ def query2str(items):
return '\n'.join(['%s=%s' % (k, v) for k,v in items])
log = logging.getLogger(LOGGER)
log.info('AXES: BEGIN LOG')
log.info('Using django-axes ' + axes.get_version())
if VERBOSE:
log.info('AXES: BEGIN LOG')
log.info('Using django-axes ' + axes.get_version())
def get_user_attempt(request):
"""