Skip to content

Commit

Permalink
Remove makemigrations.py, use Django instead
Browse files Browse the repository at this point in the history
  • Loading branch information
therefromhere committed Mar 30, 2019
1 parent 0a6c157 commit 969228b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 103 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Ready to contribute? Here's how to set up `dj-stripe` for local development.

7. If your changes altered the models you may need to generate Django migrations::

$ python makemigrations.py
$ DJSTRIPE_TEST_DB_VENDOR=sqlite ./manage.py makemigrations

8. Commit your changes and push your branch to GitHub::

Expand Down
96 changes: 0 additions & 96 deletions makemigrations.py

This file was deleted.

10 changes: 4 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,12 @@ commands =
isort {toxinidir} -c

[testenv:checkmigrations]
commands = python makemigrations.py --check
deps =
Django>=2.1,<2.2
setenv = DJSTRIPE_TEST_DB_VENDOR=sqlite
commands = ./manage.py makemigrations --check --dry-run

[testenv:makemigrations]
commands = python makemigrations.py
deps =
Django>=2.1,<2.2
setenv = DJSTRIPE_TEST_DB_VENDOR=sqlite
commands = ./manage.py makemigrations

[testenv:makemessages]
whitelist_externals = mkdir
Expand Down

0 comments on commit 969228b

Please sign in to comment.