From e351f4412c2dc944ef0db80d27ab6e24c515a6e3 Mon Sep 17 00:00:00 2001 From: Thomas Herve Date: Sun, 22 May 2016 15:54:12 +0200 Subject: Fix imports in doc This fixes some imports in the usage docs that still uses the oslo namespace package. Change-Id: I684082ec2895704afd3282334547043dcd2da1f9 --- doc/source/usage.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/source') diff --git a/doc/source/usage.rst b/doc/source/usage.rst index 2fd0af9..98a74b0 100644 --- a/doc/source/usage.rst +++ b/doc/source/usage.rst @@ -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: -- cgit v1.2.1