On Sat, Aug 8, 2009 at 6:41 PM, dmpeters63<dmpeter...@gmail.com> wrote: > > I get the following error when accessing my MySQL database with Django > on my localhost: > > /var/lib/python-support/python2.6/MySQLdb/__init__.py:34: > DeprecationWarning: the sets module is deprecated from sets imports > ImmutableSet > > How can I fix this? Anyone please help. > > I'm running the following: > - Ubuntu 9.04 > - python 2.6.2 > - django 1.1.0 final > - mysql 5.0.75 > > > >
You can't, mysqldb has yet to be updated for Python 2.6 so you get a deprecation warning, however it will continue to work perfectly fine. Alex -- "I disapprove of what you say, but I will defend to the death your right to say it." -- Voltaire "The people's good is the highest law." -- Cicero "Code can always be simpler than you think, but never as simple as you want" -- Me --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---