Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Service URLs for tastypie

Project Description

A simple API end point that we’ve found useful for our Tastypie API services at Mozilla.


Install using pip:

pip install tastypie-services

Note: version 2 renamed the lib from services to tastypie_services.


Add to your urls:

from tastypie_services.urls import services

urlpatterns = patterns('',
        url(r'^', include(services.urls)),

If you want to allow settings access, set:


The actual server status is very specific to your server, so you need to create a base class overriding the one in services. The tell the library where the object is. For example:


Then in lib.tastypie_services.resources:

from import StatusObject as Base

class StatusObject(Base):

    def test_cache(self):
        cache.set('status', 'works')
        if cache.get('status') == 'works':
                self.cache = True

See solitude for an example of this.

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(3.9 kB) Copy SHA256 Hash SHA256
Source None Apr 9, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers