[Django] #25156: Settings overview should mention django.setup() is needed for "standalone" Django use

1 view
Skip to first unread message

Django

unread,
Jul 21, 2015, 12:59:34 PM7/21/15
to django-...@googlegroups.com
#25156: Settings overview should mention django.setup() is needed for "standalone"
Django use
-----------------------------------------+------------------------
Reporter: ubernostrum | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 1 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
Since that's the main place people seem to go to find information on
manually configuring settings for standalone use, it should mention that
`django.setup()` now has to be called as part of that process, in addition
to `settings.configure()`.

In fact, what it really should have is a section on how to configure
Django to run standalone (i.e., not in a web server context).

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

Django

unread,
Jul 21, 2015, 1:13:07 PM7/21/15
to django-...@googlegroups.com
#25156: Settings overview should mention django.setup() is needed for "standalone"
Django use
--------------------------------------+------------------------------------
Reporter: ubernostrum | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0

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

* needs_docs: 1 => 0
* type: Uncategorized => Cleanup/optimization
* easy: 0 => 1
* stage: Unreviewed => Accepted


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

Django

unread,
Jul 21, 2015, 1:32:06 PM7/21/15
to django-...@googlegroups.com
#25156: Settings overview should mention django.setup() is needed for "standalone"
Django use
-------------------------------------+-------------------------------------
Reporter: ubernostrum | 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: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):

* has_patch: 0 => 1
* stage: Accepted => Ready for checkin


Comment:

[https://github.com/django/django/pull/5030 PR]

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

Django

unread,
Jul 21, 2015, 5:10:58 PM7/21/15
to django-...@googlegroups.com
#25156: Settings overview should mention django.setup() is needed for "standalone"
Django use
-------------------------------------+-------------------------------------
Reporter: ubernostrum | 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: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

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


Comment:

In [changeset:"5281f8b635f10b2839dc146d7e44f7d94d1955d8" 5281f8b6]:
{{{
#!CommitTicketReference repository=""
revision="5281f8b635f10b2839dc146d7e44f7d94d1955d8"
Fixed #25156 -- Mentioned django.setup() in the settings overview for
standalone Django use.
}}}

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

Django

unread,
Jul 21, 2015, 5:11:13 PM7/21/15
to django-...@googlegroups.com
#25156: Settings overview should mention django.setup() is needed for "standalone"
Django use
-------------------------------------+-------------------------------------
Reporter: ubernostrum | 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: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"432a0cde3907972b57bf811e0895a36bdc5b2e7f" 432a0cd]:
{{{
#!CommitTicketReference repository=""
revision="432a0cde3907972b57bf811e0895a36bdc5b2e7f"
[1.8.x] Fixed #25156 -- Mentioned django.setup() in the settings overview
for standalone Django use.

Backport of 5281f8b635f10b2839dc146d7e44f7d94d1955d8 from master
}}}

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

Reply all
Reply to author
Forward
0 new messages