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 and 1.2.
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
File details
Details for the file django-xmlrpc-0.1.3.tar.gz
.
File metadata
- Download URL: django-xmlrpc-0.1.3.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5da6b73d587b4f268827d70ec2dcbe3382517a7d425904430c2efaf2f0b8a74 |
|
MD5 | f3f845dfa590955ba32f92af5b30287b |
|
BLAKE2b-256 | 8196abba743bfd2d0f26938768560ed46f8722c1a58714305efb0c677c354412 |