---
title: "Relatando bugs e solicitando funcionalidades"
version: 4.2
locale: pt-br
source: https://docs.djangoproject.com/pt-br/4.2/internals/contributing/bugs-and-features/
canonical: https://djangodocs.dev/pt-br/4.2/internals/contributing/bugs-and-features/
---
# Relatando bugs e solicitando funcionalidades

> **Important**
>
> Por favor relatar problemas de segurança **somente** em [security@djangoproject.com](mailto:security@djangoproject.com). Esta é uma lista privada acessível apenas para desenvolvedores django veteranos e altamente confiáveis, seu conteúdo não está disponível publicamente. Para mais detalhes, por favor veja :doc: nossas políticas de segurança \</internals/security\>\`.

Por outro lado, antes de reportar um “bug” ou requerer uma nova funcionalidade no [ticket tracker](https://code.djangoproject.com/), considere estes pontos:

- Verifique se alguém já relatou o bug ou solicitou sua funcionalidade fazendo consultas customizadas no rastreador de tickets
- Não utilize o sistema de tickets para pedir suporte. Para isso utilize a lista [django-users](/pt-br/4.2/internals/mailing-lists/#django-users-mailing-list) ou o canal IRC ‘#django’.
- Don’t reopen issues that have been marked “wontfix” without finding consensus
  to do so on the [Django Forum](https://forum.djangoproject.com/) or [django-developers](/pt-br/4.2/internals/mailing-lists/#django-developers-mailing-list) list.
- Don’t use the ticket tracker for lengthy discussions, because they’re
  likely to get lost. If a particular ticket is controversial, please move the
  discussion to the [Django Forum](https://forum.djangoproject.com/) or [django-developers](/pt-br/4.2/internals/mailing-lists/#django-developers-mailing-list) list.

## Relatando bugs

Relatos de bugs bem escritos são *incrivelmente* úteis. Porém, existe uma certa quantidade de sobrecarga envolvida em trabalhar com qualquer sistema de rastreamento de bugs de modo que a sua ajuda em manter nosso rastreador de tickets o mais eficiente possível é muito apreciada. Em particular:

- **Leia** a FAQ para saber se o seu problema não é uma questão recorrente.
- **Pergunte** na lista django-users ou no canal ‘#django” *primeiro* se você não tem certeza de que o que você está vendo é realmente um bug.
- **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
  small test case is the best way to report a bug, as it gives us a
  helpful way to confirm the bug quickly.
- **Don’t** post to [django-developers](/pt-br/4.2/internals/mailing-lists/#django-developers-mailing-list) only to announce that you have filed a
  bug report. All the tickets are mailed to another list, [django-updates](/pt-br/4.2/internals/mailing-lists/#django-updates-mailing-list),
  which is tracked by developers and interested community members; we see them
  as they are filed.

Para entender o ciclo de vida do seu ticket uma vez que você o tenha criado, veja [Triagem de tickets](/pt-br/4.2/internals/contributing/triaging-tickets/).

## Relatando bugs de interface e funcionalidades

Se a sua nova funcionalidade ou bug tem a ver com qualquer coisa visual, existem mais algumas regras para seguir:

- Include screenshots in your ticket which are the visual equivalent of a
  minimal test case. Show off the issue, not the crazy customizations
  you’ve made to your browser.
- Se o problema for muito difícil de mostrar usando uma imagem, considere capturar um breve screencast. Se o seu software permitir isso, capture somente a área relevante da tela.
- If you’re offering a patch that changes the look or behavior of Django’s
  UI, you **must** attach before *and* after screenshots/screencasts.
  Tickets lacking these are difficult for triagers to assess quickly.
- Screencasts não absolvem você de outras boas práticas ao reportar um bug. Certifique-se de incluir URLs, trechos de código, e instruções passo-a-passo sobre como reproduzir o comportamento exibido nas screenshots.
- Certifique-se de incluir a tag UI/UX no ticket para que outras partes interessadas no problema possam encontrá-lo.

## Solicitando novas funcionalidades

Nós estamos sempre tentando deixar o Django melhor, e as suas solicitações por novas funcionalidades são uma peça chave nesse processo. Aqui vão algumas dicas sobre como fazer uma solicitação de forma eficiente.

- 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
  suggest that you develop it independently. Then, if your project gathers
  sufficient community support, we may consider it for inclusion in Django.
- First request the feature on the [Django Forum](https://forum.djangoproject.com/) or [django-developers](/pt-br/4.2/internals/mailing-lists/#django-developers-mailing-list) list,
  not in the 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 before actually working on them.
- Descreva claramente e de forma concisa qual é a funcionalidade que você não encontrou e como você gostaria que ela fosse implementada. Se possível inclua códigos como exemplos (código que não funciona é válido).
- 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.

If there’s a consensus agreement on the feature, then it’s appropriate to
create a ticket. Include a link to the discussion in the ticket description.

As with most open-source projects, code talks. If you are willing to write the
code for the feature yourself or, even better, if you’ve already written it,
it’s much more likely to be accepted. Fork Django on GitHub, create a feature
branch, and show us your work!

Veja também: [Documentando novas funcionalidades](/pt-br/4.2/internals/contributing/writing-documentation/#documenting-new-features).

## Como nós tomamos decisões

Whenever possible, we strive for a rough consensus. To that end, we’ll often
have informal votes on [django-developers](/pt-br/4.2/internals/mailing-lists/#django-developers-mailing-list) 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:

- +1: “Eu adorei a ideia e estou fortemente comprometido com ela.”
- +0: “Por mim OK.”
- -0: “Não me animou, mas eu não vou ficar no caminho.”
- -1: “Eu definitivamente não gostei e ficaria realmente chateado de ver essa ideia virando  realidade.”

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.

However, consensus is not always possible. If consensus cannot be reached, or
if the discussion toward a consensus fizzles out without a concrete decision,
the decision may be deferred to the [steering council](/pt-br/4.2/internals/organization/#steering-council).

Internally, the steering council will use the same voting mechanism. A
proposition will be considered carried if:

- There are at least three “+1” votes from members of the steering council.
- There is no “-1” vote from any member of the steering council.

Votos devem ser submetidos dentro de uma semana.

Since this process allows any steering council member to veto a proposal, a
“-1” vote should be accompanied by an explanation of what it would take to
convert that “-1” into at least a “+0”.

Votes on technical matters should be announced and held in public on the
[django-developers](/pt-br/4.2/internals/mailing-lists/#django-developers-mailing-list) mailing list or on the [Django Forum](https://forum.djangoproject.com/).
