1
0
mirror of https://github.com/django/django.git synced 2025-06-04 19:19:13 +00:00

[1.6.x] Fixed #22305 -- Added note to docs about UTF8 database requirement.

Backport of 08b85de9b7 from master
This commit is contained in:
Niclas Olofsson 2014-07-26 13:36:40 +02:00 committed by Tim Graham
parent 2630cafc86
commit 1c714c18d2

View File

@ -81,6 +81,14 @@ either restore Django's defaults at the end of each request, force an
appropriate value at the beginning of each request, or disable persistent
connections.
Encoding
--------
Django assumes that all databases use UTF-8 encoding. Using other encodings may
result in unexpected behavior such as "value too long" errors from your
database for data that is valid in Django. See the database specific notes
below for information on how to set up your database correctly.
.. _postgresql-notes:
PostgreSQL notes