Skip to content

Commit

Permalink
Merge 4be2969 into 446b7d7
Browse files Browse the repository at this point in the history
  • Loading branch information
pigmej committed Nov 18, 2015
2 parents 446b7d7 + 4be2969 commit b816af3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions solar/solar/dblayer/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,9 @@ def __new__(mcs, name, bases, attrs):
if bases == (object, ):
return cls

if issubclass(cls, NestedModel):
return cls

cls.bucket = Replacer('bucket', get_bucket, mcs)
mcs._defined_models.add(cls)
return cls
Expand Down

0 comments on commit b816af3

Please sign in to comment.