Ticket #21629: 21629.diff

File 21629.diff, 1.3 KB (added by Tim Graham, 11 years ago)
  • docs/ref/databases.txt

    diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt
    index f04b883..9873d47 100644
    a b The Django adapter is currently only available in the Dev branch.  
    305305
    306306.. _release branches: http://dev.mysql.com/downloads/connector/python/
    307307
     308.. _mysql-time-zone-defintions:
     309
     310Time zone definitions
     311---------------------
     312
     313If you plan on using Django's :doc:`timezone support </topics/i18n/timezones>`,
     314use `mysql_tzinfo_to_sql`_ to load time zone tables into the MySQL database.
     315This needs to be done just once for your MySQL server, not per database.
     316
     317.. _mysql_tzinfo_to_sql: http://dev.mysql.com/doc/refman/5.5/en/mysql-tzinfo-to-sql.html
     318
    308319Creating your database
    309320----------------------
    310321
  • docs/topics/i18n/timezones.txt

    diff --git a/docs/topics/i18n/timezones.txt b/docs/topics/i18n/timezones.txt
    index 5e3a482..c637601 100644
    a b Troubleshooting  
    649649       >>> local.date()
    650650       datetime.date(2012, 3, 3)
    651651
     6524. **I get an error** "``Are time zone definitions for your database and pytz
     653   installed?``" **pytz is installed, so I guess the problem is my database?**
     654
     655   If you are using MySQL, see the :ref:`mysql-time-zone-defintions` section
     656   of the MySQL notes for instructions on loading time zone definitions.
     657
    652658Usage
    653659-----
    654660
Back to Top