def get_datastore_paths():
  from google.appengine.tools import dev_appserver_main
  datastore_path = dev_appserver_main.DEFAULT_ARGS['datastore_path']
  history_path = dev_appserver_main.DEFAULT_ARGS['history_path']
  datastore_path = datastore_path.replace("dev_appserver", "django_%s" % appid)
  history_path = history_path.replace("dev_appserver", "django_%s" % appid)
  return datastore_path, history_path
Perform preliminary non-db specific lookup checks and conversions
dataset/ETHPy150Open CollabQ/CollabQ/appengine_django/db/base.py/get_datastore_paths--crossover with--dataset/ETHPy150Open mpasternak/djorm-ext-filtered-contenttypes/filtered_contenttypes/fields.py/FilteredGenericForeignKey.get_prep_lookup