File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,32 @@ Finally set the django-rest-framework permissions under your django settings:
3535
3636``` python
3737response = requests.get(
38- url = " http://uhs-api.ctf.sh:8080/catalogue/categories/ " ,
38+ url = " http://0.0.0.0:8000/api/login " ,
3939 headers = {
4040 " Api-Key" : " fd8b4a98c8f53035aeab410258430e2d86079c93" ,
4141 },
4242)
4343```
4444
4545
46+ ### Tests
47+
48+ pyvenv env
49+ source env/bin/activate
50+ pip install -r requirements/requirements-testing.txt
51+ python runtests.py
52+
53+
54+ ### Contributing
55+
56+ 1 . Fork it!
57+ 2 . Create your feature branch: ` git checkout -b my-new-feature `
58+ 3 . Commit your changes: ` git commit -am 'Add some feature' `
59+ 4 . Push to the branch: ` git push origin my-new-feature `
60+ 5 . Submit a pull request
61+ 6 . Make sure tests are passing
62+
63+
4664[ travis-image ] : https://travis-ci.org/ekonstantinidis/django-rest-framework-api-key.svg?branch=master
4765[ travis-url ] : https://travis-ci.org/ekonstantinidis/django-rest-framework-api-key
4866
You can’t perform that action at this time.
0 commit comments