Skip to content

Commit 922f6ce

Browse files
authored
Merge pull request #671 from jazzband/jazzband-updates
Implement Jazzband guidelines
2 parents eebed51 + c00fc5f commit 922f6ce

File tree

6 files changed

+29
-15
lines changed

6 files changed

+29
-15
lines changed

CONTRIBUTING.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Contributing to django-simple-history
22
=====================================
33

4+
.. image:: https://jazzband.co/static/img/jazzband.svg
5+
:target: https://jazzband.co/
6+
:alt: Jazzband
7+
8+
This is a `Jazzband <https://jazzband.co>`_ project. By contributing you agree to abide by the `Contributor Code of Conduct <https://jazzband.co/about/conduct>`_ and follow the `guidelines <https://jazzband.co/about/guidelines>`_.
9+
410
Pull Requests
511
-------------
612

README.rst

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
django-simple-history
22
=====================
33

4-
.. image:: https://secure.travis-ci.org/treyhunner/django-simple-history.svg?branch=master
5-
:target: http://travis-ci.org/treyhunner/django-simple-history
4+
.. image:: https://secure.travis-ci.org/jazzband/django-simple-history.svg?branch=master
5+
:target: http://travis-ci.org/jazzband/django-simple-history
66
:alt: Build Status
77

88
.. image:: https://readthedocs.org/projects/django-simple-history/badge/?version=latest
99
:target: https://django-simple-history.readthedocs.io/en/latest/?badge=latest
1010
:alt: Documentation Status
1111

12-
.. image:: https://img.shields.io/codecov/c/github/treyhunner/django-simple-history/master.svg
13-
:target: http://codecov.io/github/treyhunner/django-simple-history?branch=master
12+
.. image:: https://img.shields.io/codecov/c/github/jazzband/django-simple-history/master.svg
13+
:target: http://codecov.io/github/jazzband/django-simple-history?branch=master
1414
:alt: Test Coverage
1515

1616
.. image:: https://img.shields.io/pypi/v/django-simple-history.svg
@@ -29,6 +29,10 @@ django-simple-history
2929
:target: https://github.com/ambv/black
3030
:alt: Code Style
3131

32+
.. image:: https://jazzband.co/static/img/badge.svg
33+
:target: https://jazzband.co/
34+
:alt: Jazzband
35+
3236

3337
django-simple-history stores Django model state on every create/update/delete.
3438

@@ -52,7 +56,7 @@ Documentation is available at https://django-simple-history.readthedocs.io/
5256
Pull requests are welcome. Read the `CONTRIBUTING`_ file for tips on
5357
submitting a pull request.
5458

55-
.. _CONTRIBUTING: https://github.com/treyhunner/django-simple-history/blob/master/CONTRIBUTING.rst
59+
.. _CONTRIBUTING: https://github.com/jazzband/django-simple-history/blob/master/CONTRIBUTING.rst
5660

5761
License
5862
-------

docs/common_issues.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ Usage with django-modeltranslation
219219
----------------------------------
220220

221221
If you have ``django-modeltranslation`` installed, you will need to use the ``register()``
222-
method to model translation, as described `here <https://github.com/treyhunner/django-simple-history/issues/209#issuecomment-181676111>`__.
222+
method to model translation, as described `here <https://github.com/jazzband/django-simple-history/issues/209#issuecomment-181676111>`__.
223223

224224

225225
Pointing to the model

docs/index.rst

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
django-simple-history
22
=====================
33

4-
.. image:: https://secure.travis-ci.org/treyhunner/django-simple-history.svg?branch=master
5-
:target: http://travis-ci.org/treyhunner/django-simple-history
4+
.. image:: https://secure.travis-ci.org/jazzband/django-simple-history.svg?branch=master
5+
:target: http://travis-ci.org/jazzband/django-simple-history
66
:alt: Build Status
77

88
.. image:: https://readthedocs.org/projects/django-simple-history/badge/?version=latest
99
:target: https://django-simple-history.readthedocs.io/en/latest/?badge=latest
1010
:alt: Documentation Status
1111

12-
.. image:: https://img.shields.io/codecov/c/github/treyhunner/django-simple-history/master.svg
13-
:target: http://codecov.io/github/treyhunner/django-simple-history?branch=master
12+
.. image:: https://img.shields.io/codecov/c/github/jazzband/django-simple-history/master.svg
13+
:target: http://codecov.io/github/jazzband/django-simple-history?branch=master
1414
:alt: Test Coverage
1515

1616
.. image:: https://img.shields.io/pypi/v/django-simple-history.svg
@@ -29,6 +29,10 @@ django-simple-history
2929
:target: https://github.com/ambv/black
3030
:alt: Code Style
3131

32+
.. image:: https://jazzband.co/static/img/badge.svg
33+
:target: https://jazzband.co/
34+
:alt: Jazzband
35+
3236

3337
django-simple-history stores Django model state on every create/update/delete.
3438

@@ -47,8 +51,8 @@ This app supports the following combinations of Django and Python:
4751
Contribute
4852
----------
4953

50-
- Issue Tracker: https://github.com/treyhunner/django-simple-history/issues
51-
- Source Code: https://github.com/treyhunner/django-simple-history
54+
- Issue Tracker: https://github.com/jazzband/django-simple-history/issues
55+
- Source Code: https://github.com/jazzband/django-simple-history
5256

5357
Pull requests are welcome.
5458

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
author="Corey Bertram",
1717
author_email="[email protected]",
1818
maintainer="Trey Hunner",
19-
url="https://github.com/treyhunner/django-simple-history",
19+
url="https://github.com/jazzband/django-simple-history",
2020
packages=[
2121
"simple_history",
2222
"simple_history.management",

simple_history/registry_tests/tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def test_registering_with_tracked_abstract_base(self):
199199

200200

201201
class TestCustomAttrForeignKey(TestCase):
202-
""" https://github.com/treyhunner/django-simple-history/issues/431 """
202+
""" https://github.com/jazzband/django-simple-history/issues/431 """
203203

204204
def test_custom_attr(self):
205205
field = ModelWithCustomAttrForeignKey.history.model._meta.get_field("poll")
@@ -220,7 +220,7 @@ def test_migrate_command(self):
220220

221221

222222
class TestModelWithHistoryInDifferentApp(TestCase):
223-
""" https://github.com/treyhunner/django-simple-history/issues/485 """
223+
""" https://github.com/jazzband/django-simple-history/issues/485 """
224224

225225
def test__different_app(self):
226226
appLabel = ModelWithHistoryInDifferentApp.history.model._meta.app_label

0 commit comments

Comments
 (0)