Skip to content

Commit

Permalink
Fix boneheaded errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyGibson committed May 14, 2020
1 parent 02a27f1 commit 2922ba5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hooks/django_migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
def main():
exitcode = 0
cp = subprocess.run(
["python", "manage.py", "makemigrations"],
["python", "manage.py", "makemigrations", "--dry-run"],
encoding="utf-8",
capture_output=True
)
if cp.stdout:
Expand Down

0 comments on commit 2922ba5

Please sign in to comment.