Skip to main content

Documentation for Web APIs made with Django Rest Framework.

Project description

# [Django Rest Framework Docs](http://www.drfdocs.com/) [![travis][travis-image]][travis-url] [![pypi][pypi-image]][pypi-url]

Document Web APIs made with Django Rest Framework.

![DRFdocs](http://drfdocs.com/static/images/mockup.png)

### Supports

- Python (2.7, 3.3, 3.4, 3.5)
- Django (1.8, 1.9)
- Django Rest Framework (3+)


### Development & Demo Project
If you are looking to develop this package with one of your own django projects:

pyvenv env
env/bin/pip install -r requirements.txt
pip install -e ~/Projects/drf-docs/

If you want to use the demo app to work on this package:
Included in this repo you can find the demo project(at `/demo`). It is a project with *Django* & *Django Rest Framework* that will allow you to work with this project. For more information on how you can set it up please check the [README.md](demo/README.md) of the demo project.

### Installation

Install using pip:

pip install drfdocs

Add 'rest_framework_docs' to your `INSTALLED_APPS` setting:

INSTALLED_APPS = (
...
'rest_framework_docs',
)

Finally include the `rest_framework_docs` urls in your `urls.py`:

urlpatterns = [
...
url(r'^docs/', include('rest_framework_docs.urls')),
]


### Settings

REST_FRAMEWORK_DOCS = {
'HIDDEN': True # Default: False
}


### Credits

First of all thanks to the [Django](http://www.djangoproject.com/) core team and to all the contributors of [Django REST Framework](http://www.django-rest-framework.org/) for their amazing work. Also I would like to thank [Marc Gibbons](https://github.com/marcgibbons) for his *django-rest-framework-docs* project. Both projects share the same idea, it is just that Marc's is not maintained anymore and does not support DRF 3+ & Python 3.

[travis-image]: https://travis-ci.org/ekonstantinidis/django-rest-framework-docs.svg?branch=master
[travis-url]: https://travis-ci.org/ekonstantinidis/django-rest-framework-docs

[pypi-image]: https://img.shields.io/pypi/v/drfdocs.svg
[pypi-url]: https://pypi.python.org/pypi/drfdocs/

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

drfdocs-0.0.2.tar.gz (485.3 kB view details)

Uploaded Source

File details

Details for the file drfdocs-0.0.2.tar.gz.

File metadata

  • Download URL: drfdocs-0.0.2.tar.gz
  • Upload date:
  • Size: 485.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for drfdocs-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c7ad8ce37f0878a8c85ddd098ef03acd536ce5bf02f280a766fb65c82744f979
MD5 d7af483f46a661a6f2474f0c1a1850fd
BLAKE2b-256 64870c59366d3a7a79e461459e9f61b2ca952c4e5edb0251a2deac5020b6d491

See more details on using hashes here.

Supported by

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