From: Guillaume Pellerin Date: Thu, 10 Mar 2016 00:02:49 +0000 (+0100) Subject: ignore naive TZ warnings for the moment X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=0bcbd6a4ef8ab8d5b3a1f6aa9bdfda843ea04f3d;p=mezzo.git ignore naive TZ warnings for the moment --- 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')