Enhancement: list methods if XMLRPC_GET_TEMPLATE not provided
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
django_xmlrpc |
New
|
Undecided
|
Unassigned |
Bug Description
I think showing the list of available methods is more useful that a static template. I patched my version to to include the approach taken here:
http://
Here's the patch if you want to consider adding it to the official version.
66a67
>
75c76,100
< return render_
---
> try:
> return render_
> except:
> response.
> response.write("You need to invoke it using an XML-RPC Client!<br>")
> response.write("The following methods are available:<ul>")
> methods = xmlrpcdispatche
>
> for method in methods:
> # right now, my version of SimpleXMLRPCDis
> # returns "signatures not supported"... :(
> # but, in an ideal world it will tell users what args are expected
> sig = xmlrpcdispatche
>
> # this just reads your docblock, so fill it in!
> help = xmlrpcdispatche
>
> response.
>
> response.
> response.write('<a href="http://
>
> response[
> return response
>