Web APIs for Django. 🎸
Go to file
Alec Perkins 6d7d70c1c0 [docs] Move styles to own file. Fix table-of-contents positioning when viewed on <767px screens.
The fixed positioning of the ToC needs to be overridden with static, so that the ToC falls back into the flow of content and is sized correctly. Also, this prevents the actual page content from riding up behind the ToC and being obscured.
2012-09-07 13:05:44 -04:00
djangorestframework Add basic serializer tests 2012-09-07 15:14:23 +01:00
docs [docs] Move styles to own file. Fix table-of-contents positioning when viewed on <767px screens. 2012-09-07 13:05:44 -04:00
.gitignore Clean up .gitignore 2012-09-05 10:57:30 +01:00
.travis.yml Add basic serializer tests 2012-09-07 15:14:23 +01:00
MANIFEST.in Fix up packaging and staticfiles changes. Fixes #155. Fixes #153. Fixes #150. 2012-02-07 08:58:15 +00:00
mkdocs.py Fix up index suffixes 2012-09-05 18:25:30 +01:00
optionals.txt Cleaner documentation around installation of optional packages 2012-09-03 12:11:57 +01:00
README.md Docs tweak for first docs deployment 2012-09-01 21:35:30 +01:00
requirements.txt New docs 2012-08-29 20:57:37 +01:00
setup.py Attempt to stop banging head against brick wall. 2012-02-07 10:14:34 +00:00

Django REST framework

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

Author: Tom Christie. Follow me on Twitter

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)
  • URLObject (2.0.0+)

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 djangorestframework

...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.

./djangorestframework/runtests/runtests.py

Changelog

2.0.0

Redesign of core components.

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.