From 4b5efcc8197645b183ec0fabded003dac28f5966 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 10 Mar 2016 01:02:49 +0100 Subject: [PATCH] ignore naive TZ warnings for the moment, super clean log! --- app/sandbox/local_settings.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/sandbox/local_settings.py b/app/sandbox/local_settings.py index e5bbffa4..0e664661 100644 --- a/app/sandbox/local_settings.py +++ b/app/sandbox/local_settings.py @@ -89,3 +89,8 @@ ADMIN_MENU_ORDER = ( SEARCH_MODEL_CHOICES = () RATINGS_ACCOUNT_REQUIRED = True + +import warnings +warnings.filterwarnings( + 'ignore', r"DateTimeField .* received a naive datetime", + RuntimeWarning, r'django\.db\.models\.fields') -- 2.39.5