-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
documentation, benchmarking, and licensing
- Loading branch information
Showing
95 changed files
with
23,025 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
We encourage bug reports, suggestions for improvements, and direct contributions through Github Issues/Pull Requests. | ||
|
||
When making contributions, try to follow these guidelines: | ||
|
||
# Development | ||
|
||
## Style | ||
|
||
Use `make lint` to check your code for style violations. | ||
|
||
We use the `flake8` and `isort` linters to enforce PEP8 code style. | ||
For additional details, see our [Python style guide](https://github.com/AltSchool/Python). | ||
|
||
## Documentation | ||
|
||
Use `make docs` to generate the automated documentation for the project. | ||
|
||
We recommend documenting all public modules, classes, and methods, but generating the documentation is not required. | ||
|
||
## Tests | ||
|
||
Use `make test` to lint and run all unit tests (runs in a few seconds). | ||
Use `make tox` to run all unit tests against all supported combinations of Python, Django, and Django REST Framework (can take several minutes). | ||
|
||
We recommend linting regularly, testing with every commit, and running tests against all combinations before submitting a pull request. | ||
|
||
## Benchmarks | ||
|
||
Use `make benchmark` to benchmark your changes against the latest version of Django REST Framework (can take several minutes). | ||
|
||
We recommend running this before submitting a pull request. Doing so will create a [benchmarks.html](benchmarks.html) file in the repository root directory. | ||
|
||
# Submission | ||
|
||
Please submit your pull request with a clear title and description. | ||
Any visual changes (e.g. to the Browsable API) should include screenshots in the description. | ||
Any related issues in Dynamic REST, Django REST Framework, or Django should include a URL reference to the issue. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright AltSchool, PBC (c) 2016 | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web: manage.py migrate --settings=tests.settings && manage.py runserver 0.0.0.0:$PORT --settings=tests.settings |
Oops, something went wrong.