Skip to content

Commit 6f1bd9c

Browse files
authored
Typo
1 parent 4ad8f12 commit 6f1bd9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

postgres_copy/managers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def drop_constraints(self):
5353
logger.debug(f"Dropping constraints from {self.model.__name__}")
5454
with connection.schema_editor() as schema_editor:
5555
# Remove any "unique_together" constraints
56-
# NOTE: "unique_together" may be depreciated in the future
56+
# NOTE: "unique_together" may be deprecated in the future
5757
if getattr(self.model._meta, 'unique_together', False):
5858
logger.debug(
5959
"Dropping unique_together of {}".format(
@@ -101,7 +101,7 @@ def restore_constraints(self):
101101
logger.debug(f"Adding constraints to {self.model.__name__}")
102102
with connection.schema_editor() as schema_editor:
103103
# Add any "unique_together" contraints from the database
104-
# NOTE: "unique_together" may be depreciated in the future
104+
# NOTE: "unique_together" may be deprecated in the future
105105
if getattr(self.model._meta, 'unique_together', False):
106106
logger.debug(
107107
"Adding unique_together of {}".format(

0 commit comments

Comments
 (0)