2011-05-27 10:49:47 +00:00
|
|
|
======================================
|
|
|
|
Reporting bugs and requesting features
|
|
|
|
======================================
|
|
|
|
|
2012-08-07 20:06:34 +00:00
|
|
|
.. Important::
|
|
|
|
|
2012-08-07 20:28:12 +00:00
|
|
|
Please report security issues **only** to
|
|
|
|
security@djangoproject.com. This is a private list only open to
|
|
|
|
long-time, highly trusted Django developers, and its archives are
|
|
|
|
not public. For further details, please see :doc:`our security
|
|
|
|
policies </internals/security>`.
|
2012-08-07 20:06:34 +00:00
|
|
|
|
2016-06-02 19:58:50 +00:00
|
|
|
Otherwise, before reporting a bug or requesting a new feature on the
|
|
|
|
`ticket tracker <https://code.djangoproject.com/>`_, consider these points:
|
2011-05-27 10:49:47 +00:00
|
|
|
|
|
|
|
* Check that someone hasn't already filed the bug or feature request by
|
|
|
|
`searching`_ or running `custom queries`_ in the ticket tracker.
|
|
|
|
|
|
|
|
* Don't use the ticket system to ask support questions. Use the
|
2013-10-03 22:51:22 +00:00
|
|
|
|django-users| list or the `#django`_ IRC channel for that.
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2016-11-25 19:03:11 +00:00
|
|
|
* Don't reopen issues that have been marked "wontfix" without finding consensus
|
|
|
|
to do so on |django-developers|.
|
2011-05-27 10:49:47 +00:00
|
|
|
|
|
|
|
* Don't use the ticket tracker for lengthy discussions, because they're
|
2011-07-19 13:16:09 +00:00
|
|
|
likely to get lost. If a particular ticket is controversial, please move the
|
2013-10-03 22:51:22 +00:00
|
|
|
discussion to |django-developers|.
|
2011-05-27 10:49:47 +00:00
|
|
|
|
|
|
|
.. _reporting-bugs:
|
|
|
|
|
|
|
|
Reporting bugs
|
2016-01-03 10:56:22 +00:00
|
|
|
==============
|
2011-05-27 10:49:47 +00:00
|
|
|
|
|
|
|
Well-written bug reports are *incredibly* helpful. However, there's a certain
|
|
|
|
amount of overhead involved in working with any bug tracking system so your
|
|
|
|
help in keeping our ticket tracker as useful as possible is appreciated. In
|
|
|
|
particular:
|
|
|
|
|
2011-10-14 00:12:01 +00:00
|
|
|
* **Do** read the :doc:`FAQ </faq/index>` to see if your issue might
|
|
|
|
be a well-known question.
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2013-10-03 22:51:22 +00:00
|
|
|
* **Do** ask on |django-users| or `#django`_ *first* if you're not sure if
|
2011-10-14 00:12:01 +00:00
|
|
|
what you're seeing is a bug.
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2011-10-14 00:12:01 +00:00
|
|
|
* **Do** write complete, reproducible, specific bug reports. You must
|
|
|
|
include a clear, concise description of the problem, and a set of
|
|
|
|
instructions for replicating it. Add as much debug information as you can:
|
|
|
|
code snippets, test cases, exception backtraces, screenshots, etc. A nice
|
2019-06-17 14:54:55 +00:00
|
|
|
small test case is the best way to report a bug, as it gives us a
|
|
|
|
helpful way to confirm the bug quickly.
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2019-06-17 14:54:55 +00:00
|
|
|
* **Don't** post to |django-developers| only to announce that you have filed a
|
|
|
|
bug report. All the tickets are mailed to another list, |django-updates|,
|
|
|
|
which is tracked by developers and interested community members; we see them
|
|
|
|
as they are filed.
|
2011-05-27 10:49:47 +00:00
|
|
|
|
|
|
|
To understand the lifecycle of your ticket once you have created it, refer to
|
|
|
|
:doc:`triaging-tickets`.
|
|
|
|
|
2011-08-28 14:43:51 +00:00
|
|
|
Reporting user interface bugs and features
|
2016-01-03 10:56:22 +00:00
|
|
|
==========================================
|
2011-08-28 14:43:51 +00:00
|
|
|
|
|
|
|
If your bug or feature request touches on anything visual in nature, there
|
|
|
|
are a few additional guidelines to follow:
|
|
|
|
|
2011-10-14 00:12:01 +00:00
|
|
|
* Include screenshots in your ticket which are the visual equivalent of a
|
2022-06-30 08:37:54 +00:00
|
|
|
minimal test case. Show off the issue, not the crazy customizations
|
2011-10-14 00:12:01 +00:00
|
|
|
you've made to your browser.
|
|
|
|
|
|
|
|
* If the issue is difficult to show off using a still image, consider
|
|
|
|
capturing a *brief* screencast. If your software permits it, capture only
|
|
|
|
the relevant area of the screen.
|
|
|
|
|
2022-06-30 08:37:54 +00:00
|
|
|
* If you're offering a patch that changes the look or behavior of Django's
|
2011-10-14 00:12:01 +00:00
|
|
|
UI, you **must** attach before *and* after screenshots/screencasts.
|
2016-11-25 19:03:11 +00:00
|
|
|
Tickets lacking these are difficult for triagers to assess quickly.
|
2011-10-14 00:12:01 +00:00
|
|
|
|
|
|
|
* Screenshots don't absolve you of other good reporting practices. Make sure
|
|
|
|
to include URLs, code snippets, and step-by-step instructions on how to
|
|
|
|
reproduce the behavior visible in the screenshots.
|
|
|
|
|
|
|
|
* Make sure to set the UI/UX flag on the ticket so interested parties can
|
|
|
|
find your ticket.
|
2011-08-28 14:43:51 +00:00
|
|
|
|
2011-05-27 10:49:47 +00:00
|
|
|
Requesting features
|
2016-01-03 10:56:22 +00:00
|
|
|
===================
|
2011-05-27 10:49:47 +00:00
|
|
|
|
|
|
|
We're always trying to make Django better, and your feature requests are a key
|
|
|
|
part of that. Here are some tips on how to make a request most effectively:
|
|
|
|
|
2011-10-14 00:12:01 +00:00
|
|
|
* Make sure the feature actually requires changes in Django's core. If your
|
|
|
|
idea can be developed as an independent application or module — for
|
|
|
|
instance, you want to support another database engine — we'll probably
|
2020-02-01 16:58:18 +00:00
|
|
|
suggest that you develop it independently. Then, if your project gathers
|
|
|
|
sufficient community support, we may consider it for inclusion in Django.
|
2011-07-19 13:16:09 +00:00
|
|
|
|
2013-10-03 22:51:22 +00:00
|
|
|
* First request the feature on the |django-developers| list, not in the
|
2011-10-14 00:12:01 +00:00
|
|
|
ticket tracker. It'll get read more closely if it's on the mailing list.
|
|
|
|
This is even more important for large-scale feature requests. We like to
|
|
|
|
discuss any big changes to Django's core on the mailing list before
|
|
|
|
actually working on them.
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2011-10-14 00:12:01 +00:00
|
|
|
* Describe clearly and concisely what the missing feature is and how you'd
|
|
|
|
like to see it implemented. Include example code (non-functional is OK)
|
|
|
|
if possible.
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2020-05-01 12:37:21 +00:00
|
|
|
* Explain *why* you'd like the feature. Explaining a minimal use case will help
|
|
|
|
others understand where it fits in, and if there are already other ways of
|
|
|
|
achieving the same thing.
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2016-11-25 19:03:11 +00:00
|
|
|
If there's a consensus agreement on the feature, then it's appropriate to
|
2022-06-30 08:37:54 +00:00
|
|
|
create a ticket. Include a link to the discussion on |django-developers| in the
|
2016-11-25 19:03:11 +00:00
|
|
|
ticket description.
|
2011-05-27 10:49:47 +00:00
|
|
|
|
|
|
|
As with most open-source projects, code talks. If you are willing to write the
|
2011-07-19 13:16:09 +00:00
|
|
|
code for the feature yourself or, even better, if you've already written it,
|
2019-06-17 14:54:55 +00:00
|
|
|
it's much more likely to be accepted. Fork Django on GitHub, create a feature
|
|
|
|
branch, and show us your work!
|
2011-05-27 10:49:47 +00:00
|
|
|
|
|
|
|
See also: :ref:`documenting-new-features`.
|
|
|
|
|
|
|
|
.. _how-we-make-decisions:
|
|
|
|
|
|
|
|
How we make decisions
|
2016-01-03 10:56:22 +00:00
|
|
|
=====================
|
2011-05-27 10:49:47 +00:00
|
|
|
|
|
|
|
Whenever possible, we strive for a rough consensus. To that end, we'll often
|
2022-12-20 08:10:59 +00:00
|
|
|
have informal votes on |django-developers| or the Django Forum about a feature.
|
|
|
|
In these votes we follow the voting style invented by Apache and used on Python
|
|
|
|
itself, where votes are given as +1, +0, -0, or -1.
|
|
|
|
Roughly translated, these votes mean:
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2011-10-14 00:12:01 +00:00
|
|
|
* +1: "I love the idea and I'm strongly committed to it."
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2011-10-14 00:12:01 +00:00
|
|
|
* +0: "Sounds OK to me."
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2011-10-14 00:12:01 +00:00
|
|
|
* -0: "I'm not thrilled, but I won't stand in the way."
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2011-10-14 00:12:01 +00:00
|
|
|
* -1: "I strongly disagree and would be very unhappy to see the idea turn
|
|
|
|
into reality."
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2022-12-20 08:10:59 +00:00
|
|
|
Although these votes are informal, they'll be taken very seriously. After a
|
|
|
|
suitable voting period, if an obvious consensus arises we'll follow the votes.
|
2011-05-27 10:49:47 +00:00
|
|
|
|
|
|
|
However, consensus is not always possible. If consensus cannot be reached, or
|
2021-07-30 18:34:50 +00:00
|
|
|
if the discussion toward a consensus fizzles out without a concrete decision,
|
2022-12-20 08:10:59 +00:00
|
|
|
the decision may be deferred to the :ref:`steering council <steering-council>`.
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2022-12-20 08:10:59 +00:00
|
|
|
Internally, the steering council will use the same voting mechanism. A
|
2014-07-13 17:38:28 +00:00
|
|
|
proposition will be considered carried if:
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2022-12-20 08:10:59 +00:00
|
|
|
* There are at least three "+1" votes from members of the steering council.
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2022-12-20 08:10:59 +00:00
|
|
|
* There is no "-1" vote from any member of the steering council.
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2014-07-13 17:38:28 +00:00
|
|
|
Votes should be submitted within a week.
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2022-12-20 08:10:59 +00:00
|
|
|
Since this process allows any steering council member to veto a proposal, a
|
2014-07-13 17:38:28 +00:00
|
|
|
"-1" vote should be accompanied by an explanation of what it would take to
|
|
|
|
convert that "-1" into at least a "+0".
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2014-07-13 17:38:28 +00:00
|
|
|
Votes on technical matters should be announced and held in public on the
|
2022-12-20 08:10:59 +00:00
|
|
|
|django-developers| mailing list or on the Django Forum.
|
2011-05-27 10:49:47 +00:00
|
|
|
|
2012-03-13 17:53:31 +00:00
|
|
|
.. _searching: https://code.djangoproject.com/search
|
2011-07-19 13:16:09 +00:00
|
|
|
.. _custom queries: https://code.djangoproject.com/query
|
2021-06-03 10:07:30 +00:00
|
|
|
.. _#django: https://web.libera.chat/#django
|