Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire authored Sep 6, 2024
1 parent 4ad8f12 commit 6f1bd9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions postgres_copy/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def drop_constraints(self):
logger.debug(f"Dropping constraints from {self.model.__name__}")
with connection.schema_editor() as schema_editor:
# Remove any "unique_together" constraints
# NOTE: "unique_together" may be depreciated in the future
# NOTE: "unique_together" may be deprecated in the future
if getattr(self.model._meta, 'unique_together', False):
logger.debug(
"Dropping unique_together of {}".format(
Expand Down Expand Up @@ -101,7 +101,7 @@ def restore_constraints(self):
logger.debug(f"Adding constraints to {self.model.__name__}")
with connection.schema_editor() as schema_editor:
# Add any "unique_together" contraints from the database
# NOTE: "unique_together" may be depreciated in the future
# NOTE: "unique_together" may be deprecated in the future
if getattr(self.model._meta, 'unique_together', False):
logger.debug(
"Adding unique_together of {}".format(
Expand Down

0 comments on commit 6f1bd9c

Please sign in to comment.