DRF endpoints for django-friendship
Project description
Overview
DRF endpoints for django-friendship
Requirements
Python (2.7, 3.5, 3.6)
Django (1.9, 1.10, 1.11)
Django REST Framework (3.6)
Installation
Install using pip…
$ pip install django-rest-friendship
Add rest_friendship to your INSTALLED_APPS
INSTALLED_APPS = (
...
'friendship', # Django friendship
'rest_framework', # Django REST Framework
'rest_friendship', # Django REST Friendship
'rest_framework.authtoken',
...
)
Example
TODO: Write example.
Testing
Install testing requirements.
$ pip install -r requirements.txt
Run with runtests.
$ ./runtests.py
You can also use the excellent tox testing tool to run the tests against all supported versions of Python and Django. Install tox globally, and then simply run:
$ tox
Documentation
To build the documentation, you’ll need to install mkdocs.
$ pip install mkdocs
To preview the documentation:
$ mkdocs serve
Running at: http://127.0.0.1:8000/
To build the documentation:
$ mkdocs build
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-rest-friendship-0.1.0.tar.gz
.
File metadata
- Download URL: django-rest-friendship-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dfdc4a27ad16444cc8f75a08bec5c17f66e2e7876e784d49f5217907bc8d9af |
|
MD5 | b832df7b238232e4af65b71a85f3c7bc |
|
BLAKE2b-256 | 48f544add92b0ca7baadf3971daa41c9887e2166aa111131873fa24453b05d5d |
File details
Details for the file django_rest_friendship-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: django_rest_friendship-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5010bc22797341fad7e5a5b6d76fa6f570a361c07ee8e66bf04cf4153cf59594 |
|
MD5 | a5ffcdfffd7b0a3d0ecb1ca5ea013bbc |
|
BLAKE2b-256 | 7e55744d5ba5a7e482c0d465ed900d93d45dd531a40c312a3e9ddbec3d41ebd9 |