Fixed #19176 -- Typo in copy-pasted error message.

Thanks maxirobaina for the report.
This commit is contained in:
Aymeric Augustin 2012-10-24 16:20:07 +02:00
parent 9fd2f9c5f3
commit c736a1a9f8
1 changed files with 1 additions and 1 deletions

View File

@ -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()