Update Readme for new linter ignore migration operation

Use master for PRs. No need for a dev branch
This commit is contained in:
David-Wobrock authored and David Wobrock committed 2018-12-23 17:46:57 +01:00
1 parent fe6433a065
commit 95274b9a67
1 file changed
+4 -4
+4 -4
View File
@@ -52,18 +52,18 @@ Examples
3YOURMIND is running the linter on `Bitbucket Pipelines`_ on every build getting pushed. 3YOURMIND is running the linter on `Bitbucket Pipelines`_ on every build getting pushed.
Checkout the ``examples/`` folder to see how you could integrate the linter in your test suite. Checkout the ``examples/`` folder to see how you could integrate the linter in your test suite.
Ignoring Migrations Ignoring migrations
------------------- -------------------
You can also ignore migrations by adding this to your migrations: You can also ignore migrations by adding this to your migrations:
.. code-block:: .. code-block::
from django_migration_linter import IGNORE_MIGRATION import django_migration_linter as linter
# ... # ...
operations = [ operations = [
migrations.RunSQL(IGNORE_MIGRATION), linter.IgnoreMigration(),
# ... # ...
] ]
# ... # ...
@@ -78,7 +78,7 @@ Contributing
------------ ------------
First, thank you very much if you want to contribute to the project. First, thank you very much if you want to contribute to the project.
Please base your work on the ``dev`` branch and also target this branch in your pull request. Please base your work on the ``master`` branch and also target this branch in your pull request.
License License
------- -------