Skip to content

Commit 396b626

Browse files
robhudsontim-schilling
authored andcommitted
Update references to point to django-commons repo
1 parent 6d45d1d commit 396b626

File tree

12 files changed

+29
-46
lines changed

12 files changed

+29
-46
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
[![Jazzband](https://jazzband.co/static/img/jazzband.svg)](https://jazzband.co/)
2-
3-
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).
1+
This is a [Django Commons](https://github.com/django-commons/) project. By contributing you agree to abide by the [Contributor Code of Conduct](https://github.com/django-commons/membership/blob/main/CODE_OF_CONDUCT.md).
42

53
Please see the
6-
[full contributing documentation](https://django-debug-toolbar.readthedocs.io/en/stable/contributing.html)
4+
[README](https://github.com/django-commons/membership/blob/main/README.md)
75
for more help.

README.rst

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,18 @@
22
Django Debug Toolbar |latest-version|
33
=====================================
44

5-
|jazzband| |build-status| |coverage| |docs| |python-support| |django-support|
5+
|build-status| |coverage| |docs| |python-support| |django-support|
66

77
.. |latest-version| image:: https://img.shields.io/pypi/v/django-debug-toolbar.svg
88
:target: https://pypi.org/project/django-debug-toolbar/
99
:alt: Latest version on PyPI
1010

11-
.. |jazzband| image:: https://jazzband.co/static/img/badge.svg
12-
:target: https://jazzband.co/
13-
:alt: Jazzband
14-
15-
.. |build-status| image:: https://github.com/jazzband/django-debug-toolbar/workflows/Test/badge.svg
16-
:target: https://github.com/jazzband/django-debug-toolbar/actions
11+
.. |build-status| image:: https://github.com/django-commons/django-debug-toolbar/workflows/Test/badge.svg
12+
:target: https://github.com/django-commons/django-debug-toolbar/actions/workflows/test.yml
1713
:alt: Build Status
1814

1915
.. |coverage| image:: https://img.shields.io/badge/Coverage-94%25-green
20-
:target: https://github.com/jazzband/django-debug-toolbar/actions/workflows/test.yml?query=branch%3Amain
16+
:target: https://github.com/django-commons/django-debug-toolbar/actions/workflows/test.yml?query=branch%3Amain
2117
:alt: Test coverage status
2218

2319
.. |docs| image:: https://img.shields.io/readthedocs/django-debug-toolbar/latest.svg
@@ -38,7 +34,7 @@ more details about the panel's content.
3834

3935
Here's a screenshot of the toolbar in action:
4036

41-
.. image:: https://raw.github.com/jazzband/django-debug-toolbar/main/example/django-debug-toolbar.png
37+
.. image:: https://raw.github.com/django-commons/django-debug-toolbar/main/example/django-debug-toolbar.png
4238
:alt: Django Debug Toolbar screenshot
4339

4440
In addition to the built-in panels, a number of third-party panels are
@@ -59,4 +55,4 @@ itself. If you like it, please consider contributing!
5955
The Django Debug Toolbar was originally created by Rob Hudson <[email protected]>
6056
in August 2008 and was further developed by many contributors_.
6157

62-
.. _contributors: https://github.com/jazzband/django-debug-toolbar/graphs/contributors
58+
.. _contributors: https://github.com/django-commons/django-debug-toolbar/graphs/contributors

debug_toolbar/panels/sql/panel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def _duplicate_query_key(query):
8989
raw_params = () if query["raw_params"] is None else tuple(query["raw_params"])
9090
# repr() avoids problems because of unhashable types
9191
# (e.g. lists) when used as dictionary keys.
92-
# https://github.com/jazzband/django-debug-toolbar/issues/1091
92+
# https://github.com/django-commons/django-debug-toolbar/issues/1091
9393
return (query["raw_sql"], repr(raw_params))
9494

9595

debug_toolbar/panels/sql/tracking.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ def cursor(*args, **kwargs):
5353
# some code in the wild which does not follow that convention,
5454
# so we pass on the arguments even though it's not clean.
5555
# See:
56-
# https://github.com/jazzband/django-debug-toolbar/pull/615
57-
# https://github.com/jazzband/django-debug-toolbar/pull/896
56+
# https://github.com/django-commons/django-debug-toolbar/pull/615
57+
# https://github.com/django-commons/django-debug-toolbar/pull/896
5858
logger = connection._djdt_logger
5959
cursor = connection._djdt_cursor(*args, **kwargs)
6060
if logger is None:
@@ -66,7 +66,7 @@ def cursor(*args, **kwargs):
6666

6767
def chunked_cursor(*args, **kwargs):
6868
# prevent double wrapping
69-
# solves https://github.com/jazzband/django-debug-toolbar/issues/1239
69+
# solves https://github.com/django-commons/django-debug-toolbar/issues/1239
7070
logger = connection._djdt_logger
7171
cursor = connection._djdt_chunked_cursor(*args, **kwargs)
7272
if logger is not None and not isinstance(cursor, DjDTCursorWrapperMixin):

debug_toolbar/toolbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def should_render_panels(self):
110110
# The wsgi.multiprocess case of being True isn't supported until the
111111
# toolbar has resolved the following issue:
112112
# This type of set up is most likely
113-
# https://github.com/jazzband/django-debug-toolbar/issues/1430
113+
# https://github.com/django-commons/django-debug-toolbar/issues/1430
114114
render_panels = self.request.META.get("wsgi.multiprocess", True)
115115
return render_panels
116116

docs/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,4 +406,4 @@ could add a **debug_toolbar/base.html** template override to your project:
406406
407407
The list of CSS variables are defined at
408408
`debug_toolbar/static/debug_toolbar/css/toolbar.css
409-
<https://github.com/jazzband/django-debug-toolbar/blob/main/debug_toolbar/static/debug_toolbar/css/toolbar.css>`_
409+
<https://github.com/django-commons/django-debug-toolbar/blob/main/debug_toolbar/static/debug_toolbar/css/toolbar.css>`_

docs/contributing.rst

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,28 @@
11
Contributing
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
9-
to abide by the `Contributor Code of Conduct <https://jazzband.co/about/conduct>`_
10-
and follow the `guidelines <https://jazzband.co/about/guidelines>`_.
4+
This is a `Django Commons <https://github.com/django-commons>`_ project. By contributing you agree
5+
to abide by the `Contributor Code of Conduct <https://github.com/django-commons/membership/blob/main/CODE_OF_CONDUCT.md>`_.
116

127
Bug reports and feature requests
138
--------------------------------
149

1510
You can report bugs and request features in the `bug tracker
16-
<https://github.com/jazzband/django-debug-toolbar/issues>`_.
11+
<https://github.com/django-commons/django-debug-toolbar/issues>`_.
1712

1813
Please search the existing database for duplicates before filing an issue.
1914

2015
Code
2116
----
2217

2318
The code is available `on GitHub
24-
<https://github.com/jazzband/django-debug-toolbar>`_. Unfortunately, the
19+
<https://github.com/django-commons/django-debug-toolbar>`_. Unfortunately, the
2520
repository contains old and flawed objects, so if you have set
2621
`fetch.fsckObjects
2722
<https://github.com/git/git/blob/0afbf6caa5b16dcfa3074982e5b48e27d452dbbb/Documentation/config.txt#L1381>`_
2823
you'll have to deactivate it for this repository::
2924

30-
git clone --config fetch.fsckobjects=false https://github.com/jazzband/django-debug-toolbar.git
25+
git clone --config fetch.fsckobjects=false https://github.com/django-commons/django-debug-toolbar.git
3126

3227
Once you've obtained a checkout, you should create a virtualenv_ and install
3328
the libraries required for working on the Debug Toolbar::
@@ -145,7 +140,7 @@ Patches
145140
-------
146141

147142
Please submit `pull requests
148-
<https://github.com/jazzband/django-debug-toolbar/pulls>`_!
143+
<https://github.com/django-commons/django-debug-toolbar/pulls>`_!
149144

150145
The Debug Toolbar includes a limited but growing test suite. If you fix a bug
151146
or add a feature code, please consider adding proper coverage in the test
@@ -176,7 +171,7 @@ You will need to
176171
`install the Transifex CLI <https://developers.transifex.com/docs/cli>`_.
177172

178173
To publish a release you have to be a `django-debug-toolbar project lead at
179-
Jazzband <https://jazzband.co/projects/django-debug-toolbar>`__.
174+
Django Commons <https://github.com/django-commons/django-debug-toolbar>`__.
180175

181176
The release itself requires the following steps:
182177

@@ -204,7 +199,7 @@ The release itself requires the following steps:
204199

205200
#. Push the commit and the tag.
206201

207-
#. Publish the release from the Jazzband website.
202+
#. Publish the release from the Django Commons website.
208203

209204
#. Change the default version of the docs to point to the latest release:
210205
https://readthedocs.org/dashboard/django-debug-toolbar/versions/

docs/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ instead with the following command:
3131

3232
.. code-block:: console
3333
34-
$ python -m pip install -e git+https://github.com/jazzband/django-debug-toolbar.git#egg=django-debug-toolbar
34+
$ python -m pip install -e git+https://github.com/django-commons/django-debug-toolbar.git#egg=django-debug-toolbar
3535
3636
If you're upgrading from a previous version, you should review the
3737
:doc:`change log <changes>` and look for specific upgrade instructions.
@@ -84,7 +84,7 @@ Add ``"debug_toolbar"`` to your ``INSTALLED_APPS`` setting:
8484
]
8585
.. note:: Check out the configuration example in the
8686
`example app
87-
<https://github.com/jazzband/django-debug-toolbar/tree/main/example>`_
87+
<https://github.com/django-commons/django-debug-toolbar/tree/main/example>`_
8888
to learn how to set up the toolbar to function smoothly while running
8989
your tests.
9090

example/test_views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Add tests to example app to check how the toolbar is used
22
# when running tests for a project.
3-
# See https://github.com/jazzband/django-debug-toolbar/issues/1405
3+
# See https://github.com/django-commons/django-debug-toolbar/issues/1405
44

55
from django.test import TestCase
66
from django.urls import reverse

pyproject.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,12 @@ dependencies = [
4040
"sqlparse>=0.2",
4141
]
4242
urls.Download = "https://pypi.org/project/django-debug-toolbar/"
43-
urls.Homepage = "https://github.com/jazzband/django-debug-toolbar"
44-
45-
[tool.hatch.build.targets.sdist]
46-
# Jazzband's release process is limited to 2.2 metadata
47-
core-metadata-version = "2.2"
43+
urls.Homepage = "https://github.com/django-commons/django-debug-toolbar"
4844

4945
[tool.hatch.build.targets.wheel]
5046
packages = [
5147
"debug_toolbar",
5248
]
53-
# Jazzband's release process is limited to 2.2 metadata
54-
core-metadata-version = "2.2"
5549

5650
[tool.hatch.version]
5751
path = "debug_toolbar/__init__.py"

0 commit comments

Comments
 (0)