summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-10-24 16:20:07 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-10-24 16:21:30 +0200
commitc736a1a9f8f1b70adcbbce8a098fa7c0c4062785 (patch)
treeac3dfe1debef1ce8073d1b6a5aecf9e96c949a10
parent9fd2f9c5f3c008f524874fd7cf78237e65bf567e (diff)
Fixed #19176 -- Typo in copy-pasted error message.
Thanks maxirobaina for the report.
-rw-r--r--django/db/backends/mysql/base.py2
1 files changed, 1 insertions, 1 deletions
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()