Skip to main content

DRF endpoints for django-friendship

Project description

build-status-image pypi-version

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

django-rest-friendship-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

django_rest_friendship-0.1.0-py2.py3-none-any.whl (5.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-rest-friendship-0.1.0.tar.gz.

File metadata

File hashes

Hashes for django-rest-friendship-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5dfdc4a27ad16444cc8f75a08bec5c17f66e2e7876e784d49f5217907bc8d9af
MD5 b832df7b238232e4af65b71a85f3c7bc
BLAKE2b-256 48f544add92b0ca7baadf3971daa41c9887e2166aa111131873fa24453b05d5d

See more details on using hashes here.

File details

Details for the file django_rest_friendship-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_rest_friendship-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5010bc22797341fad7e5a5b6d76fa6f570a361c07ee8e66bf04cf4153cf59594
MD5 a5ffcdfffd7b0a3d0ecb1ca5ea013bbc
BLAKE2b-256 7e55744d5ba5a7e482c0d465ed900d93d45dd531a40c312a3e9ddbec3d41ebd9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page