Skip to main content

XML-RPC Server App for the Django framework.

Project description

Django_xmlrpc offers a means by which a Django developer can expose their views (or indeed any other function) using XML-RPC.

This is a fork of the version hosted at : https://code.launchpad.net/~aartemenko/django-xmlrpc/svetlyak40wt compatible with Django >= 1.8 and Python >= 2.5.

If you want to use django_xmlrpc for an older version of Django or Python, please use an old release.

Installation

You could retrieve the last sources from http://github.com/Fantomas42/django-xmlrpc and run the installation script

$ python setup.py install

or use pip

$ pip install -e git://github.com/Fantomas42/django-xmlrpc.git#egg=django-xmlrpc

Usage

Register django_xmlrpc in your INSTALLED_APPS section of your project’ settings.

Then register methods you want to handle like this in your project’ settings.

XMLRPC_METHODS = (('path.to.your.method', 'Method name'),
                  ('path.to.your.othermethod', 'Other Method name'),)

Finally we need to register the url of the XML-RPC server. Insert something like this in your project’s urls.py:

from django_xmlrpc.views import handle_xmlrpc

url(r'^xmlrpc/$', handle_xmlrpc, name='xmlrpc'),

Project details


Download files

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

Source Distribution

django-xmlrpc-0.1.6.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

django_xmlrpc-0.1.6-py2-none-any.whl (13.7 kB view details)

Uploaded Python 2

File details

Details for the file django-xmlrpc-0.1.6.tar.gz.

File metadata

File hashes

Hashes for django-xmlrpc-0.1.6.tar.gz
Algorithm Hash digest
SHA256 693b00976d8a9ea8df754b8581ffa7211124cfe664cb816fbd4b3ab3ff23a8ec
MD5 b5cfaaeab0b28c810ceb4a3efddca67b
BLAKE2b-256 db86bf05e4ad8c90e11ede4708fbe7a55fb5059abdacd78be52fc9cbbe7cad48

See more details on using hashes here.

File details

Details for the file django_xmlrpc-0.1.6-py2-none-any.whl.

File metadata

File hashes

Hashes for django_xmlrpc-0.1.6-py2-none-any.whl
Algorithm Hash digest
SHA256 dd1209d03d2aff8dd4c993830c2d22fa266d01f07d1f92942c1b4c68e5a02ae8
MD5 2a6685daa6b44c8b11e77f89bcf45872
BLAKE2b-256 08b4725ab0a99d1750e79644f28c6ade5d69e3083e63bb596160fa60ceef3e20

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page