Skip to content

Commit

Permalink
Consolidate Django and test requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
jpadilla committed Dec 1, 2014
1 parent d1fe61c commit bc0c25d
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 26 deletions.
17 changes: 8 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

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

Expand All @@ -38,7 +38,7 @@ Some tips on good issue reporting:

## 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?
* Is the ticket reported in the correct place, would it be better suited as a discussion on the discussion group?
Expand All @@ -62,7 +62,6 @@ To run the tests, clone the repository, and then:
virtualenv env
env/bin/activate
pip install -r requirements.txt
pip install -r requirements-test.txt

# Run the tests
./runtests.py
Expand Down Expand Up @@ -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:

### 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
====================
Expand All @@ -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.

Here is a link to [some other thing][other-thing].

More text...

[other-thing]: http://example.com/other/thing

This style helps keep the documentation source consistent and readable.
Expand All @@ -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:

---

**Note:** A useful documentation note.

---

# Third party packages
Expand Down
1 change: 0 additions & 1 deletion docs/topics/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ To run the tests, clone the repository, and then:
virtualenv env
source env/bin/activate
pip install -r requirements.txt
pip install -r requirements-test.txt

# Run the tests
./runtests.py
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/third-party-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

$ pip install -r requirements-test.txt
$ pip install -r requirements.txt

Once requirements installed, you can run `runtests.py`.

Expand Down
15 changes: 0 additions & 15 deletions requirements-test.txt

This file was deleted.

17 changes: 17 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
# Minimum Django version
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

0 comments on commit bc0c25d

Please sign in to comment.