|
| 1 | +--- |
| 2 | +DEP: XXXX |
| 3 | +Author: Jacob Kaplan-Moss |
| 4 | +Implementation Team: Jacob Kaplan-Moss |
| 5 | +Shepherd: Andrew Godwin, Carl Meyer |
| 6 | +Status: Draft |
| 7 | +Type: Feature |
| 8 | +Created: 2014-11-16 |
| 9 | +Last-Modified: 2014-11-18 |
| 10 | +--- |
| 11 | +# DEP XXXX: DEP template |
| 12 | + |
| 13 | +Table of Contents |
| 14 | +- [Abstract](#abstract) |
| 15 | +- [Specification](#specification) |
| 16 | +- [Motivation](#motivation) |
| 17 | +- [Rationale](#rationale) |
| 18 | +- [Backwards Compatibility](#backwards-compatibility) |
| 19 | +- [Reference Implementation](#reference-implementation) |
| 20 | +- [Copyright](#copyright) |
| 21 | + |
| 22 | +This DEP provides a sample template for creating your own DEPs. In |
| 23 | +conjunction with the content guidelines in [DEP |
| 24 | +1](https://github.com/django/deps/blob/main/final/0001-dep-process.rst), this |
| 25 | +should make it easy for you to conform your own DEPs to the format |
| 26 | +outlined below. |
| 27 | + |
| 28 | +Note: if you are reading this DEP via the web, you should first grab |
| 29 | +[the source of this |
| 30 | +DEP](https://raw.githubusercontent.com/django/deps/refs/heads/main/template.md) in |
| 31 | +order to complete the steps below. **DO NOT USE THE HTML FILE AS YOUR |
| 32 | +TEMPLATE!** |
| 33 | + |
| 34 | +To get the source this (or any) DEP, look at the top of the Github page |
| 35 | +and click "raw". |
| 36 | + |
| 37 | +If you're unfamiliar with Markdown, this template also exists |
| 38 | +as a [reStructuredText template](./template.rst). |
| 39 | + |
| 40 | +Once you've made a copy of this template, remove this abstract, fill |
| 41 | +out the metadata above and the sections below, then submit the DEP. |
| 42 | +Follow the guidelines in [DEP |
| 43 | +1](https://github.com/django/deps/final/0001-dep-process.rst). |
| 44 | + |
| 45 | +## Abstract |
| 46 | + |
| 47 | +This should be a short (~200 word) description of the technical issue |
| 48 | +being addressed. |
| 49 | + |
| 50 | +This (and the above metadata) is the only section strictly required to |
| 51 | +submit a draft DEP; the following sections can be barebones and fleshed |
| 52 | +out as you work through the DEP process. |
| 53 | + |
| 54 | +## Specification |
| 55 | + |
| 56 | +This section should contain a complete, detailed technical specification |
| 57 | +which should describe the syntax and semantics of any new feature. The |
| 58 | +specification should be detailed enough to allow implementation -- that |
| 59 | +is, developers other than the author should (given the right experience) |
| 60 | +be able to independently implement the feature, given only the DEP. |
| 61 | + |
| 62 | +## Motivation |
| 63 | + |
| 64 | +This section should explain *why* this DEP is needed. The motivation is |
| 65 | +critical for DEPs that want to add substantial new features or |
| 66 | +materially refactor existing ones. It should clearly explain why the |
| 67 | +existing solutions are inadequate to address the problem that the DEP |
| 68 | +solves. DEP submissions without sufficient motivation may be rejected |
| 69 | +outright. |
| 70 | + |
| 71 | +## Rationale |
| 72 | + |
| 73 | +This section should flesh out out the specification by describing what |
| 74 | +motivated the specific design and why particular design decisions were |
| 75 | +made. It should describe alternate designs that were considered and |
| 76 | +related work. |
| 77 | + |
| 78 | +The rationale should provide evidence of consensus within the community |
| 79 | +and discuss important objections or concerns raised during discussion. |
| 80 | + |
| 81 | +## Backwards Compatibility |
| 82 | + |
| 83 | +If this DEP introduces backwards incompatibilities, you must must |
| 84 | +include this section. It should describe these incompatibilities and |
| 85 | +their severity, and what mitigation you plan to take to deal with these |
| 86 | +incompatibilities. |
| 87 | + |
| 88 | +## Reference Implementation |
| 89 | + |
| 90 | +If there's an implementation of the feature under discussion in this |
| 91 | +DEP, this section should include or link to that implementation and |
| 92 | +provide any notes about installing/using/trying out the implementation. |
| 93 | + |
| 94 | +## Copyright |
| 95 | + |
| 96 | +This document has been placed in the public domain per the Creative |
| 97 | +Commons CC0 1.0 Universal license |
| 98 | +(<http://creativecommons.org/publicdomain/zero/1.0/deed>). |
| 99 | + |
| 100 | +(All DEPs must include this exact copyright statement.) |
0 commit comments