Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

Thanks maxirobaina for the report.
  • Loading branch information...
commit c736a1a9f8f1b70adcbbce8a098fa7c0c4062785 1 parent 9fd2f9c
Aymeric Augustin aaugustin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/backends/mysql/base.py
2  django/db/backends/mysql/base.py
View
@@ -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()
Please sign in to comment.
Something went wrong with that request. Please try again.