Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Django REST Data API App
Python
Branch: master

Added a Main class to the client API so command line tools can be con…

…structed trivially, and added support for every ForeignKey having a corresponding RelatedField on the related model.
latest commit 1211a3ae94
@kriskowal kriskowal authored
Failed to load latest commit information.
api Added a Main class to the client API so command line tools can be con…
docs
formats Forms, Common JSON options, ViewsFromModels.
media Forms, Common JSON options, ViewsFromModels.
python Forms, Common JSON options, ViewsFromModels.
templates/djata Forms, Common JSON options, ViewsFromModels.
.gitignore Posted from FastSoft Subversion revision 7955.
README.rst
__init__.py
exceptions.py
fields.py Removed dead orderedclass in favor of djata.python.orderedclass
middleware.py
paginate.py
rules.py
urls.py
urls_model.py Removed dead code (from the prototype) and documented the current code.
urls_model_root.py Forms, Common JSON options, ViewsFromModels.
urls_root.py
views.py Forms, Common JSON options, ViewsFromModels.

README.rst

Djata

Djata is a Django application plugin that provides REST services for existing Django models with minimal but flexible configuration. Configuring a Djata REST API is comparable to configuring Django's administrative interface.

Djata views support HTTP GET, PUT, PUSH, and DELETE, with parsers and formatters including but not limited to HTML, raw HTML for AJAX, JSON, JSONP, URL encoding, CSV, formatted plain text, and XLS (with the pyExcellerator module installed), with orthogonal support for selecting, filtering, ordering, and paginating data. Djata becomes your new base-line for Django views, with support across the board for the comprehensive API options you want but never have time to write.

(If you are viewing this page on Github, you will need to visit the canonical location of this file for the relative hyperlinks to function properly.)

For an example Djata application, check see Bugwar.

In future versions, Djata should support:

  • Django authentication for write, delete, and most importantly read privileges first for models and then for individual objects.
  • HTTP content negotiation on URLs that do not provide a format extension.
  • A progressively enhanced, cross-referenced, HTML user interface.
  • Custom views for viewing and editing charts, graphs, and trees.
  • Throttling and Pacing
  • Generalize for inter-application cross-references
Something went wrong with that request. Please try again.