@@ -26,7 +26,7 @@ Add the provided Django middleware to your Django project's settings. All querie
2626
2727``` python
2828MIDDLEWARE = [
29- ' sqlcommenter.django.middleware.SqlCommenter' ,
29+ ' google. sqlcommenter.django.middleware.SqlCommenter' ,
3030 ...
3131]
3232```
@@ -41,7 +41,7 @@ which when viewed say on Postgresql logs, produces
4141If you want the opencensus attributes included, you must set the
4242`` SQLCOMMENTER_WITH_OPENCENSUS `` setting to `` True `` and include
4343`` 'opencensus.ext.django.middleware.OpencensusMiddleware' `` before
44- `` 'sqlcommenter.django.middleware.SqlCommenter', `` in your `` MIDDLEWARE ``
44+ `` 'google. sqlcommenter.django.middleware.SqlCommenter', `` in your `` MIDDLEWARE ``
4545setting.
4646
4747### SQLAlchemy
@@ -50,7 +50,7 @@ Attach the provided event listener to the `before_cursor_execute` event of the d
5050
5151``` python
5252import sqlalchemy
53- from sqlcommenter.sqlalchemy.executor import BeforeExecuteFactory
53+ from google. sqlcommenter.sqlalchemy.executor import BeforeExecuteFactory
5454
5555engine = sqlalchemy.create_engine(... )
5656listener = BeforeExecuteFactory(with_db_driver = True , with_db_framework = True , with_opencensus = True )
@@ -72,7 +72,7 @@ Use the provided cursor factory to generate database cursors. All queries execut
7272
7373``` python
7474import psycopg2
75- from sqlcommenter.psycopg2.extension import CommenterCursorFactory
75+ from google. sqlcommenter.psycopg2.extension import CommenterCursorFactory
7676
7777cursor_factory = CommenterCursorFactory(
7878 with_db_driver = True , with_dbapi_level = True , with_dbapi_threadsafety = True ,
0 commit comments