From c736a1a9f8f1b70adcbbce8a098fa7c0c4062785 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Wed, 24 Oct 2012 16:20:07 +0200 Subject: [PATCH] Fixed #19176 -- Typo in copy-pasted error message. Thanks maxirobaina for the report. --- django/db/backends/mysql/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/backends/mysql/base.py b/django/db/backends/mysql/base.py index 4043014b8e..158d936c40 100644 --- a/django/db/backends/mysql/base.py +++ b/django/db/backends/mysql/base.py @@ -65,7 +65,7 @@ def adapt_datetime_with_timezone_support(value, conv): # Equivalent to DateTimeField.get_db_prep_value. Used only by raw SQL. if settings.USE_TZ: if timezone.is_naive(value): - warnings.warn("SQLite received a naive datetime (%s)" + warnings.warn("MySQL received a naive datetime (%s)" " while time zone support is active." % value, RuntimeWarning) default_timezone = timezone.get_default_timezone()