Ticket #3754: mysql-bug-3754.2.diff

File mysql-bug-3754.2.diff, 547 bytes (added by Andy Dustman <farcepest@…>, 18 years ago)

updated to use DEFAULT_CHARSET (untested)

  • django/db/backends/mysql/base.py

     
    8080        if not self._valid_connection():
    8181            kwargs = {
    8282                'conv': django_conversions,
     83                'charset': settings.DEFAULT_CHARSET,
     84                'use_unicode': False,
    8385            }
    8486            if settings.DATABASE_USER:
    8587                kwargs['user'] = settings.DATABASE_USER
Back to Top