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.1.

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:

>>> url(r'^xmlrpc/$', 'django_xmlrpc.views.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.4.tar.gz (7.6 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-xmlrpc-0.1.4.tar.gz
Algorithm Hash digest
SHA256 16384a5115e9407b0e1df1b4a950a974fcdd8cd49aaea1a4508e4111a1b7febb
MD5 475b759e4dc9a6f17953228062757dc4
BLAKE2b-256 5a40b5e9ac7207892b8ccc5855137c13de346a5d2f7f6c1935e8821bb1570424

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