Web APIs for Django. 🎸
Go to file
Tom Christie 78e85e02e4 Merge pull request #298 from eofs/restframework2
Typo in class name fixed
2012-10-17 01:08:00 -07:00
docs Tweak parsers to take parser_context 2012-10-15 13:27:50 +01:00
rest_framework Typo in class name 2012-10-17 10:41:23 +03:00
.gitignore Change package name: djangorestframework -> rest_framework 2012-09-20 13:06:27 +01:00
.travis.yml Add PYTHONPATH in travis config 2012-10-11 13:12:43 +01:00
MANIFEST.in Remove old 'djangorestframework directories 2012-09-20 13:19:43 +01:00
mkdocs.py Tweak static files with docs 2012-10-09 14:12:38 +01:00
optionals.txt Cleaner documentation around installation of optional packages 2012-09-03 12:11:57 +01:00
README.md Rename HTMLTemplateRenderer -> HTMLRenderer, DocuemntingHTMLRenderer -> BrowseableAPIRenderer 2012-10-09 15:58:48 +01:00
requirements.txt Remove old 'djangorestframework directories 2012-09-20 13:19:43 +01:00
setup.py Drop coverage in travis tests 2012-10-11 13:05:01 +01:00
tox.ini Fix serialization issue with Django 1.3 2012-09-28 14:53:22 +01:00

Django REST framework

A toolkit for building well-connected, self-describing web APIs.

Author: Tom Christie. Follow me on Twitter

build-status-image

Overview

This branch is the redesign of Django REST framework. It is a work in progress.

For more information, check out the documentation, in particular, the tutorial is recommended as the best place to get an overview of the redesign.

Requirements

  • Python (2.6, 2.7)
  • Django (1.3, 1.4, 1.5)

Optional:

  • Markdown - Markdown support for the self describing API.
  • PyYAML - YAML content type support.

Installation

Leaving these instructions in for the moment, they'll be valid once this becomes the master version

Install using pip...

pip install rest_framework

...or clone the project from github.

git clone git@github.com:tomchristie/django-rest-framework.git
pip install -r requirements.txt

Quickstart

TODO

Development

To build the docs.

./mkdocs.py

To run the tests.

./rest_framework/runtests/runtests.py

Changelog

2.0.0

  • Redesign of core components.
  • Fix all of the things.

License

Copyright (c) 2011, Tom Christie All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.