Django application with server side implementation for passbook webservices.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.


=============== django-passbook

This application implements the specified API for passbook webservices. It handles pass registration, updates and logging. It may be easily plugged to you django application by just adding the installed app and importing the urls. It is based on Apple's specification and Mattt's rails example (

If you need to create passes (.pkpass files) in python you should check http.//


  • Django 1.4

Getting Started

$ pip install django-passbook==0.1.0dev

Add 'django_passbook' to you installed apps in the file.

To use push notifications you need to specify the path to your certificate and key files in your file.

PASSBOOK_CERT = '/home/faramendi/my-site/cert.pem'
PASSBOOK_CERT_KEY = '/home/faramendi/my-site/key-nopass.pem'

You should also import the urls in your site urls.

from django_passbook import urls
urlpatterns = patterns('',
    url(r'^api/', include('django_passbook.urls')),

django-passbook signals certain events that might come handy in your application.

from django_passbook.views import pass_registered, pass_unregistered
def pass_registered(sender, **kwargs):

def pass_unregistered(sender, **kwargs):


The complete specification can be found in the Passbook Web Service Reference.