On 08/29/2011 07:53 PM, Mike Truty wrote: > From 881c30549a59a54766858c55d147f6ea83ca486a Mon Sep 17 00:00:00 2001 > From: Mike Truty<[email protected]> > Date: Mon, 29 Aug 2011 13:05:16 -0700 > Subject: [PATCH] Fix django 1.3 DeprecationWarning for DATABASES. > > Django 1.3 which we migrated to, modified the settings structure so that > the database settings are no longer a set of constants. They are replaced > with a dictionary of dictionaries where the 'default' dictionary contains > the desired settings. I've switched to that format to avoid the warning. Not > sure when those constants will actually stop working. > > This is the actual message that no longer shows: > /usr/local/autotest/site-packages/django/db/__init__.py:19: > DeprecationWarning: > settings.DATABASE_* is deprecated; use settings.DATABASES instead.
Hi Mike, I've just applied both of your patches: http://autotest.kernel.org/changeset/5536 http://autotest.kernel.org/changeset/5537 Again, thank you very much for taking the time to fix this! Cheers, Lucas _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
