happens to me too. it would be nice to have a generic configuration file where to put these stuff.
would it help to put this into appengine_config.py? On Nov 22, 2011, at 1:41 AM, Mark Ivey wrote: > No, this is python25. > > On Nov 20, 8:14 pm, Sandeep Koduri <[email protected]> wrote: >> Are h using 'python27 >> On Nov 21, 2011 9:21 AM, "Mark Ivey" <[email protected]> wrote: >> >> >> >> >> >> >> >>> I'm using python and webapp. My code calls use_library() but I'm still >>> getting these warnings in my logs: >> >>> "You are using the default Django version (0.96). The default Django >>> version will change in an App Engine release in the near future. >>> Please call use_library() to explicitly select a Django version. For >>> more information see >>> http://code.google.com/appengine/docs/python/tools/libraries.html#Django" >> >>> FWIW, here's what the start of my python code looks like. As you can >>> see, main.py immediate imports common.py, and common.py calls >>> use_library before importing any other appengine code >> >>> main.py: >>> import os >>> from appengine_blog.server import common >>> <...snip...> >> >>> appengine_blog/server/common.py: >>> import datetime >>> import os >>> import sys >>> import urllib >>> sys.path.insert(0, os.path.join(os.path.dirname(__file__), >>> 'third_party')) >> >>> from google.appengine.dist import use_library >>> use_library('django', '0.96') >>> <...snip...> >> >>> Suggestions? Is anyone else using webapp and *not* getting these >>> warnings in their logs? >> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Google App Engine" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/google-appengine?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
