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.

There are two ways to register methods that you want to handle:

In your project’s settings.

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

In a file called xmlrpc.py in your application directory.

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.7.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

django_xmlrpc-0.1.7-py2-none-any.whl (16.9 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for django-xmlrpc-0.1.7.tar.gz
Algorithm Hash digest
SHA256 6d371c27ca3140b9731d3d3b49e4ee9646c6a35439af39f9f387697299b5cc94
MD5 1300ad43d261cac9bbad0523305cc2d0
BLAKE2b-256 9139c3161eb78fdf911e8e96db6093726985cb4e06e602098fc7ba904597a1e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_xmlrpc-0.1.7-py2-none-any.whl
Algorithm Hash digest
SHA256 35c40f52b76aca2d7d0c8eb13de629234854f60de3e67ee521a40455d280dbdd
MD5 21accfd2e43587d72e66caf7b68ed1f1
BLAKE2b-256 9f017de16ad26aba3461776672650329aed9f493da5ab720b484547f6f08f565

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