X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fpatchwork%2Fpwclientrc;h=c932b1173e862bf7d5d9984e146d31aa653ff9fe;hb=6fa81606a78f3dcc3160c0117be378bb861b1ded;hp=59dd61cf76a28a1e39854babb65a569c26561bb1;hpb=7ac91d3a79469fbb4db4bfd8d4a2fec923e09edc;p=patchwork diff --git a/templates/patchwork/pwclientrc b/templates/patchwork/pwclientrc index 59dd61c..c932b11 100644 --- a/templates/patchwork/pwclientrc +++ b/templates/patchwork/pwclientrc @@ -4,11 +4,12 @@ # Save this file to ~/.pwclientrc # [base] -url: http://{{site.domain}}{% url django_xmlrpc.views.handle_xmlrpc %} +url: {{scheme}}://{{site.domain}}{% url patchwork.views.xmlrpc.xmlrpc %} project: {{ project.linkname }} - {% if user.is_authenticated %} +# Adding authentication parameters will allow you to use the 'update' +# command on patches that you are allowed to edit. [auth] -user: {{ user.username }} +username: {{ user.username }} password: {% endif %}