Commit f0cbfe14 authored by Miroslav Shubernetskiy's avatar Miroslav Shubernetskiy
Browse files

added base sqlalchemy manager base

parent bb13fa17
......@@ -2,6 +2,7 @@
API Builder
Build dynamic API based on the provided SQLAlchemy model
from managers import AlchemyModelManager
from viewsets import AlchemyModelViewSet
from rest_framework_nested import routers
......@@ -32,7 +33,7 @@ class APIModelBuilder(object):
manager = type(
self.base_managers + (AlchemyModelManager,),
'model_class': model,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment