Fix imports in doc
This fixes some imports in the usage docs that still uses the oslo namespace package. Change-Id: I684082ec2895704afd3282334547043dcd2da1f9
This commit is contained in:
parent
12f6d87b17
commit
e351f4412c
@ -105,7 +105,7 @@ Base class for models usage
|
||||
|
||||
.. code:: python
|
||||
|
||||
from oslo.db import models
|
||||
from oslo_db.sqlalchemy import models
|
||||
|
||||
|
||||
class ProjectSomething(models.TimestampMixin,
|
||||
@ -119,8 +119,8 @@ DB API backend support
|
||||
|
||||
.. code:: python
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo.db import api as db_api
|
||||
from oslo_config import cfg
|
||||
from oslo_db import api as db_api
|
||||
|
||||
|
||||
_BACKEND_MAPPING = {'sqlalchemy': 'project.db.sqlalchemy.api'}
|
||||
@ -142,5 +142,5 @@ DB migration extensions
|
||||
|
||||
Available extensions for `oslo_db.migration`.
|
||||
|
||||
.. list-plugins:: oslo.db.migration
|
||||
.. list-plugins:: oslo_db.sqlalchemy.migration
|
||||
:detailed:
|
||||
|
Loading…
Reference in New Issue
Block a user