Skip to content

Commit

Permalink
Merge pull request #117 from BradLucky/patch-1
Browse files Browse the repository at this point in the history
Fix a typo on "CASCAD"
  • Loading branch information
Photonios committed Feb 24, 2021
2 parents ccef599 + 975143e commit ea22f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/deletion.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ By default, Postgres will raise an error if any other table is referencing one o
class MyModel2(PostgresModel):
mymodel1 = models.ForeignKey(Model1, on_delete=models.CASCAD)
mymodel1 = models.ForeignKey(Model1, on_delete=models.CASCADE)
obj1 = MyModel1.objects.create(myfield="1")
MyModel2.objects.create(mymodel1=obj1)
Expand Down

0 comments on commit ea22f12

Please sign in to comment.