Yesterday I posted a small patch to do this, please refer ticket #2772 :) James Bennett wrote: > On 9/20/06, Oliver Andrich <[EMAIL PROTECTED]> wrote: > >> For your own development environment this is more then okay in my >> eyes. And I would even deploy with this small change. But this is >> personal taste. :) >> > > Probably the best thing for us to do in trunk is what we already do > with threading: try to import the standard module, and if that fails > catch the exception and import the standalone version. So something > like > > try: > from sqlite3 import dbapi2 as Database > except ImportError: > from pysqlite2 import dbapi2 as Database > >
--~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---