summaryrefslogtreecommitdiff
path: root/docs/ref/databases.txt
diff options
context:
space:
mode:
authorNiclas Olofsson <n@niclasolofsson.se>2014-07-26 13:36:40 +0200
committerTim Graham <timograham@gmail.com>2014-07-26 09:39:29 -0400
commit08b85de9b7a8940702dba9348b642538da888c6c (patch)
tree05b03e156986309479dc7349e3e30d42b07a6cf4 /docs/ref/databases.txt
parent63058786882f6a32649a0fdafae9cb425c95cd4e (diff)
Fixed #22305 -- Added note to docs about UTF8 database requirement.
Diffstat (limited to 'docs/ref/databases.txt')
-rw-r--r--docs/ref/databases.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt
index 8dec974817..69833240a3 100644
--- a/docs/ref/databases.txt
+++ b/docs/ref/databases.txt
@@ -79,6 +79,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