GithubHelp home page GithubHelp logo

ssidorenko / django-tastytools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from imunizaga/django-tastytools

0.0 2.0 0.0 583 KB

Useful tools for developing REST services with django-tastypie

Makefile 1.54% CSS 33.54% JavaScript 36.33% Python 25.86% Shell 1.41% CoffeeScript 1.32%

django-tastytools's Introduction

django-tastytools

Useful tools for developing REST services with django-tastypie

Requirements

Required

What iss It Look Like?

Asuming you have a tastypie implemented api, a basic example looks like:

# myapp/api/tools.py
# ============
from tastytools.api import Api
from resources import MyModelResource, AnotherResource, YetAnotherResource

api = Api()
api.register(MyModelResource)
api.register(resources=[AnotherResource, YetAnotherResource])


# urls.py
from tastypie.api import Api
from my_app.api.resources import MyModelResource

api_name = 'v1'
v1_api = Api(api_name=api_name)
v1_api.register(MyModelResource())

urlpatterns = patterns('',
  # ...more URLconf bits here...
  # Then add:
  (r'^tastytools/', include('tastytools.urls'), {'api_name': api_name}),
)

That gets you a basic automatic documentation for your api at /tastytools/doc/

You can find more in the documentation at http://tastytools.readthedocs.org/.

What is tastytools?

Useful tools for developing REST services with django-tastypie

django-tastytools's People

Contributors

imunizaga avatar juanique avatar sebaacuna avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.