Commit 6801da35 authored by Vangelis Koukis's avatar Vangelis Koukis
Browse files

Have isoparse return naive datetimes, fixes #377

Have api/util.py:isoparse() return naive datetime objects, in UTC.
Fixes #377.
parent 2e328963
......@@ -56,7 +56,7 @@ def isoparse(s):
if now - utc_since > timedelta(seconds=settings.POLL_LIMIT):
raise BadRequest('Too old changes-since value.')
return since
return utc_since
def random_password(length=8):
pool = ascii_letters + digits
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment