[Django] #30944: Change resuable apps docs to use setuptools declarative config

11 views
Skip to first unread message

Django

unread,
Nov 1, 2019, 10:01:42 PM11/1/19
to django-...@googlegroups.com
#30944: Change resuable apps docs to use setuptools declarative config
------------------------------------------------+------------------------
Reporter: Jon Dufresne | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
Existing docs: https://docs.djangoproject.com/en/2.2/intro/reusable-apps
/#packaging-your-app

Setuptools features:
https://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-
setup-using-setup-cfg-files

The declarative syntax is simpler, can allow for types of automation, and
is easier to parse with external tools.

--
Ticket URL: <https://code.djangoproject.com/ticket/30944>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Nov 1, 2019, 10:03:48 PM11/1/19
to django-...@googlegroups.com
#30944: Change resuable apps docs to use setuptools declarative config
-------------------------------------+-------------------------------------

Reporter: Jon Dufresne | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jon Dufresne):

* has_patch: 0 => 1


Comment:

https://github.com/django/django/pull/12006

--
Ticket URL: <https://code.djangoproject.com/ticket/30944#comment:1>

Django

unread,
Nov 4, 2019, 2:51:50 AM11/4/19
to django-...@googlegroups.com
#30944: Change resuable apps docs to use setuptools declarative config
--------------------------------------+------------------------------------

Reporter: Jon Dufresne | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Nick Pope):

* stage: Unreviewed => Accepted


Comment:

I think this will make things much easier. Even `setuptools` itself does
this now.

By the time Django 3.1 is released, this will have been supported for
nearly 4 years.

--
Ticket URL: <https://code.djangoproject.com/ticket/30944#comment:2>

Django

unread,
Nov 5, 2019, 8:52:16 AM11/5/19
to django-...@googlegroups.com
#30944: Change resuable apps docs to use setuptools declarative config
-------------------------------------+-------------------------------------

Reporter: Jon Dufresne | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by CarlosMirdeSouza):

* stage: Accepted => Ready for checkin


Comment:

Seems ok.

--
Ticket URL: <https://code.djangoproject.com/ticket/30944#comment:3>

Django

unread,
Nov 5, 2019, 9:02:39 AM11/5/19
to django-...@googlegroups.com
#30944: Change resuable apps docs to use setuptools declarative config
-------------------------------------+-------------------------------------

Reporter: Jon Dufresne | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: master
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson <carlton.gibson@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"85cddb6abb7eddf2d8cb5e3a845dcd16ec9f22cf" 85cddb6a]:
{{{
#!CommitTicketReference repository=""
revision="85cddb6abb7eddf2d8cb5e3a845dcd16ec9f22cf"
[3.0.x] Fixed #30944 -- Changed reusable apps docs to use a declarative
config.

Backport of 89368ab6e358ebe29a0417d65209182238daa245 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/30944#comment:4>

Django

unread,
Nov 5, 2019, 9:49:44 AM11/5/19
to django-...@googlegroups.com
#30944: Change resuable apps docs to use setuptools declarative config
-------------------------------------+-------------------------------------

Reporter: Jon Dufresne | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: master

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson <carlton@…>):

In [changeset:"89368ab6e358ebe29a0417d65209182238daa245" 89368ab]:
{{{
#!CommitTicketReference repository=""
revision="89368ab6e358ebe29a0417d65209182238daa245"


Fixed #30944 -- Changed reusable apps docs to use a declarative config.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/30944#comment:5>

Django

unread,
Nov 5, 2019, 10:10:45 AM11/5/19
to django-...@googlegroups.com
#30944: Change resuable apps docs to use setuptools declarative config
-------------------------------------+-------------------------------------

Reporter: Jon Dufresne | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: master

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson <carlton.gibson@…>):

In [changeset:"4325239e2df70054716e8211dd0749dfdc1f2550" 4325239e]:
{{{
#!CommitTicketReference repository=""
revision="4325239e2df70054716e8211dd0749dfdc1f2550"
[2.2.x] Fixed #30944 -- Changed reusable apps docs to use a declarative
config.

Backport of 89368ab6e358ebe29a0417d65209182238daa245 from master.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/30944#comment:6>

Django

unread,
Feb 11, 2021, 6:44:59 AM2/11/21
to django-...@googlegroups.com
#30944: Change resuable apps docs to use setuptools declarative config
-------------------------------------+-------------------------------------

Reporter: Jon Dufresne | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: master

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by GitHub <noreply@…>):

In [changeset:"a2fa2fa2f840350d23698df78bae5677c20cb623" a2fa2fa2]:
{{{
#!CommitTicketReference repository=""
revision="a2fa2fa2f840350d23698df78bae5677c20cb623"
Refs #30944 -- Added pyproject.toml in reusable apps docs.

Related to f8f35e8c530aaf440fa8160327461460d79f6db2.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/30944#comment:7>

Reply all
Reply to author
Forward
0 new messages