Skip to content

Commit

Permalink
add DatabaseCreationWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
altairbow committed Sep 29, 2023
1 parent 08d4a5d commit 82da39c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dj_db_conn_pool/core/mixins/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
class PersistentDatabaseWrapperMixin(object):
def __init__(self, *args, **kwargs):
# override creation_class
self.creation_class = type('', (DatabaseCreationMixin, self.creation_class), {})
self.creation_class = type('DatabaseCreationWrapper', (DatabaseCreationMixin, self.creation_class), {})

super(PersistentDatabaseWrapperMixin, self).__init__(*args, **kwargs)

Expand Down

0 comments on commit 82da39c

Please sign in to comment.