Skip to content

Commit

Permalink
Fixed #19176 -- Typo in copy-pasted error message.
Browse files Browse the repository at this point in the history
Thanks maxirobaina for the report.
  • Loading branch information
aaugustin committed Oct 24, 2012
1 parent 9fd2f9c commit c736a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/db/backends/mysql/base.py
Expand Up @@ -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()
Expand Down

0 comments on commit c736a1a

Please sign in to comment.