Commit deec61e0 by Tom Christie

Merge pull request #2173 from jpadilla/master

Consolidate Django and test requirements
parents d847e336 bc0c25df
...@@ -14,7 +14,7 @@ If you use REST framework, we'd love you to be vocal about your experiences with ...@@ -14,7 +14,7 @@ If you use REST framework, we'd love you to be vocal about your experiences with
Other really great ways you can help move the community forward include helping answer questions on the [discussion group][google-group], or setting up an [email alert on StackOverflow][so-filter] so that you get notified of any new questions with the `django-rest-framework` tag. Other really great ways you can help move the community forward include helping answer questions on the [discussion group][google-group], or setting up an [email alert on StackOverflow][so-filter] so that you get notified of any new questions with the `django-rest-framework` tag.
When answering questions make sure to help future contributors find their way around by hyperlinking wherever possible to related threads and tickets, and include backlinks from those items if relevant. When answering questions make sure to help future contributors find their way around by hyperlinking wherever possible to related threads and tickets, and include backlinks from those items if relevant.
## Code of conduct ## Code of conduct
...@@ -38,7 +38,7 @@ Some tips on good issue reporting: ...@@ -38,7 +38,7 @@ Some tips on good issue reporting:
## Triaging issues ## Triaging issues
Getting involved in triaging incoming issues is a good way to start contributing. Every single ticket that comes into the ticket tracker needs to be reviewed in order to determine what the next steps should be. Anyone can help out with this, you just need to be willing to Getting involved in triaging incoming issues is a good way to start contributing. Every single ticket that comes into the ticket tracker needs to be reviewed in order to determine what the next steps should be. Anyone can help out with this, you just need to be willing to
* Read through the ticket - does it make sense, is it missing any context that would help explain it better? * Read through the ticket - does it make sense, is it missing any context that would help explain it better?
* Is the ticket reported in the correct place, would it be better suited as a discussion on the discussion group? * Is the ticket reported in the correct place, would it be better suited as a discussion on the discussion group?
...@@ -62,7 +62,6 @@ To run the tests, clone the repository, and then: ...@@ -62,7 +62,6 @@ To run the tests, clone the repository, and then:
virtualenv env virtualenv env
env/bin/activate env/bin/activate
pip install -r requirements.txt pip install -r requirements.txt
pip install -r requirements-test.txt
# Run the tests # Run the tests
./runtests.py ./runtests.py
...@@ -130,8 +129,8 @@ There are a couple of conventions you should follow when working on the document ...@@ -130,8 +129,8 @@ There are a couple of conventions you should follow when working on the document
Headers should use the hash style. For example: Headers should use the hash style. For example:
### Some important topic ### Some important topic
The underline style should not be used. **Don't do this:** The underline style should not be used. **Don't do this:**
Some important topic Some important topic
==================== ====================
...@@ -141,9 +140,9 @@ The underline style should not be used. **Don't do this:** ...@@ -141,9 +140,9 @@ The underline style should not be used. **Don't do this:**
Links should always use the reference style, with the referenced hyperlinks kept at the end of the document. Links should always use the reference style, with the referenced hyperlinks kept at the end of the document.
Here is a link to [some other thing][other-thing]. Here is a link to [some other thing][other-thing].
More text... More text...
[other-thing]: http://example.com/other/thing [other-thing]: http://example.com/other/thing
This style helps keep the documentation source consistent and readable. This style helps keep the documentation source consistent and readable.
...@@ -159,9 +158,9 @@ Linking in this style means you'll be able to click the hyperlink in your markdo ...@@ -159,9 +158,9 @@ Linking in this style means you'll be able to click the hyperlink in your markdo
If you want to draw attention to a note or warning, use a pair of enclosing lines, like so: If you want to draw attention to a note or warning, use a pair of enclosing lines, like so:
--- ---
**Note:** A useful documentation note. **Note:** A useful documentation note.
--- ---
# Third party packages # Third party packages
......
...@@ -62,7 +62,6 @@ To run the tests, clone the repository, and then: ...@@ -62,7 +62,6 @@ To run the tests, clone the repository, and then:
virtualenv env virtualenv env
source env/bin/activate source env/bin/activate
pip install -r requirements.txt pip install -r requirements.txt
pip install -r requirements-test.txt
# Run the tests # Run the tests
./runtests.py ./runtests.py
......
...@@ -93,7 +93,7 @@ The cookiecutter template includes a `runtests.py` which uses the `pytest` packa ...@@ -93,7 +93,7 @@ The cookiecutter template includes a `runtests.py` which uses the `pytest` packa
Before running, you'll need to install a couple test requirements. Before running, you'll need to install a couple test requirements.
$ pip install -r requirements-test.txt $ pip install -r requirements.txt
Once requirements installed, you can run `runtests.py`. Once requirements installed, you can run `runtests.py`.
......
# Test requirements
pytest-django==2.6
pytest==2.5.2
pytest-cov==1.6
flake8==2.2.2
# Optional packages
markdown>=2.1.0
PyYAML>=3.10
defusedxml>=0.3
django-guardian==1.2.4
django-filter>=0.5.4
django-oauth-plus>=2.2.1
oauth2>=1.5.211
django-oauth2-provider>=0.2.4
# Minimum Django version
Django>=1.4.11 Django>=1.4.11
# Test requirements
pytest-django==2.6
pytest==2.5.2
pytest-cov==1.6
flake8==2.2.2
# Optional packages
markdown>=2.1.0
PyYAML>=3.10
defusedxml>=0.3
django-guardian==1.2.4
django-filter>=0.5.4
django-oauth-plus>=2.2.1
oauth2>=1.5.211
django-oauth2-provider>=0.2.4
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment