def debug(request):
    context_extras = {}
    if settings.DEBUG and request.META.get('REMOTE_ADDR') in settings.INTERNAL_IPS:
        context_extras['debug'] = True
        from django.db import connection
        context_extras['sql_queries'] = connection.queries
    return context_extras
Test the store_element() entry point.
dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/core/context_processors.py/debug--crossover with--dataset/ETHPy150Open MapQuest/mapquest-osm-server/src/python/tests/test_dsmembase.py/test_datastore_write_element