Here are the examples of the python api djangae.db.backends.appengine.parsers.version_18.Parser taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
Example 1
def _get_parser(query, connection=None):
version = django.VERSION[:2]
if version == (1, 8):
from djangae.db.backends.appengine.parsers import version_18
return version_18.Parser(query, connection)
elif version == (1, 9):
from djangae.db.backends.appengine.parsers import version_19
return version_19.Parser(query, connection)
else:
from djangae.db.backends.appengine.parsers import base
return base.BaseParser(query, connection)