├── .gitignore ├── .hgignore ├── .hgtags ├── AUTHORS.txt ├── MANIFEST.in ├── examples └── blogserver │ ├── README.txt │ ├── __init__.py │ ├── api │ ├── __init__.py │ ├── handlers.py │ └── urls.py │ ├── blog │ ├── __init__.py │ ├── models.py │ ├── urls.py │ └── views.py │ ├── fixtures │ └── initial_data.xml │ ├── manage.py │ ├── settings.py │ ├── templates │ ├── posts.html │ └── test_js.html │ └── urls.py ├── ez_setup.py ├── piston ├── __init__.py ├── authentication.py ├── decorator.py ├── doc.py ├── emitters.py ├── fixtures │ ├── models.json │ └── oauth.json ├── forms.py ├── handler.py ├── handlers_doc.py ├── managers.py ├── middleware.py ├── models.py ├── oauth.py ├── resource.py ├── signals.py ├── store.py ├── templates │ ├── documentation.html │ └── piston │ │ └── authorize_token.html ├── test.py ├── tests.py ├── utils.py └── validate_jsonp.py ├── setup.py └── tests ├── bootstrap.py ├── buildout.cfg └── test_project ├── __init__.py ├── apps ├── __init__.py └── testapp │ ├── __init__.py │ ├── forms.py │ ├── handlers.py │ ├── models.py │ ├── signals.py │ ├── tests.py │ └── urls.py ├── settings.py ├── templates ├── 404.html ├── 500.html └── admin │ └── login.html └── urls.py /.gitignore: -------------------------------------------------------------------------------- 1 | *.egg-info 2 | -------------------------------------------------------------------------------- /.hgignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/.hgignore -------------------------------------------------------------------------------- /.hgtags: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/.hgtags -------------------------------------------------------------------------------- /AUTHORS.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/AUTHORS.txt -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | recursive-include piston/templates * 2 | -------------------------------------------------------------------------------- /examples/blogserver/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/examples/blogserver/README.txt -------------------------------------------------------------------------------- /examples/blogserver/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/blogserver/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/blogserver/api/handlers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/examples/blogserver/api/handlers.py -------------------------------------------------------------------------------- /examples/blogserver/api/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/examples/blogserver/api/urls.py -------------------------------------------------------------------------------- /examples/blogserver/blog/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/blogserver/blog/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/examples/blogserver/blog/models.py -------------------------------------------------------------------------------- /examples/blogserver/blog/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/examples/blogserver/blog/urls.py -------------------------------------------------------------------------------- /examples/blogserver/blog/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/examples/blogserver/blog/views.py -------------------------------------------------------------------------------- /examples/blogserver/fixtures/initial_data.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/examples/blogserver/fixtures/initial_data.xml -------------------------------------------------------------------------------- /examples/blogserver/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/examples/blogserver/manage.py -------------------------------------------------------------------------------- /examples/blogserver/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/examples/blogserver/settings.py -------------------------------------------------------------------------------- /examples/blogserver/templates/posts.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/examples/blogserver/templates/posts.html -------------------------------------------------------------------------------- /examples/blogserver/templates/test_js.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/examples/blogserver/templates/test_js.html -------------------------------------------------------------------------------- /examples/blogserver/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/examples/blogserver/urls.py -------------------------------------------------------------------------------- /ez_setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/ez_setup.py -------------------------------------------------------------------------------- /piston/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/__init__.py -------------------------------------------------------------------------------- /piston/authentication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/authentication.py -------------------------------------------------------------------------------- /piston/decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/decorator.py -------------------------------------------------------------------------------- /piston/doc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/doc.py -------------------------------------------------------------------------------- /piston/emitters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/emitters.py -------------------------------------------------------------------------------- /piston/fixtures/models.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/fixtures/models.json -------------------------------------------------------------------------------- /piston/fixtures/oauth.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/fixtures/oauth.json -------------------------------------------------------------------------------- /piston/forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/forms.py -------------------------------------------------------------------------------- /piston/handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/handler.py -------------------------------------------------------------------------------- /piston/handlers_doc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/handlers_doc.py -------------------------------------------------------------------------------- /piston/managers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/managers.py -------------------------------------------------------------------------------- /piston/middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/middleware.py -------------------------------------------------------------------------------- /piston/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/models.py -------------------------------------------------------------------------------- /piston/oauth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/oauth.py -------------------------------------------------------------------------------- /piston/resource.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/resource.py -------------------------------------------------------------------------------- /piston/signals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/signals.py -------------------------------------------------------------------------------- /piston/store.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/store.py -------------------------------------------------------------------------------- /piston/templates/documentation.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/templates/documentation.html -------------------------------------------------------------------------------- /piston/templates/piston/authorize_token.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/templates/piston/authorize_token.html -------------------------------------------------------------------------------- /piston/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/test.py -------------------------------------------------------------------------------- /piston/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/tests.py -------------------------------------------------------------------------------- /piston/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/utils.py -------------------------------------------------------------------------------- /piston/validate_jsonp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/piston/validate_jsonp.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/setup.py -------------------------------------------------------------------------------- /tests/bootstrap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/tests/bootstrap.py -------------------------------------------------------------------------------- /tests/buildout.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/tests/buildout.cfg -------------------------------------------------------------------------------- /tests/test_project/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_project/apps/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_project/apps/testapp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_project/apps/testapp/forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/tests/test_project/apps/testapp/forms.py -------------------------------------------------------------------------------- /tests/test_project/apps/testapp/handlers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/tests/test_project/apps/testapp/handlers.py -------------------------------------------------------------------------------- /tests/test_project/apps/testapp/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/tests/test_project/apps/testapp/models.py -------------------------------------------------------------------------------- /tests/test_project/apps/testapp/signals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/tests/test_project/apps/testapp/signals.py -------------------------------------------------------------------------------- /tests/test_project/apps/testapp/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/tests/test_project/apps/testapp/tests.py -------------------------------------------------------------------------------- /tests/test_project/apps/testapp/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/tests/test_project/apps/testapp/urls.py -------------------------------------------------------------------------------- /tests/test_project/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/tests/test_project/settings.py -------------------------------------------------------------------------------- /tests/test_project/templates/404.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_project/templates/500.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_project/templates/admin/login.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_project/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla/django-piston/HEAD/tests/test_project/urls.py --------------------------------------------------------------------------------