#63 DESC is not imported by: from sqlobject import *

closed-accepted
Oleg Broytman
General (126)
5
2005-03-29
2005-03-13
Viktor Ferenczi
No

SQLObject: 0.6.1 (Win32 installer)
Python: 2.3.5

DESC is not imported by the following statement:

from sqlobject import *

But the SQLObject manual says:

"You can use from sqlobject import *, though you don't have to. It exports a minimal number of symbols. The symbols exported:

...

From sqlobject.sqlbuilder:

* AND
* OR
* NOT
* IN
* LIKE
* DESC
* CONTAINSSTRING
* const
* func"

DESC is accidentally not exported. It must be explicitly imported (workaround):

from sqlobject.sqlbuilder import DESC

Thanks for the fix, Complex

Discussion

  • Oleg Broytman
    Oleg Broytman
    2005-03-29

    • assigned_to: nobody --> phd
    • status: open --> closed-accepted
     
  • Oleg Broytman
    Oleg Broytman
    2005-03-29

    Logged In: YES
    user_id=4799

    Applied at revision 691. Thank you.