X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fpatchwork%2Fpwclientrc;h=d331003a269d96f77db0fd3a13154a8988bde0c0;hb=429ef9ba9dcc8f92b8362c1b0fca0916db05e84b;hp=7aaf34630b68d577921935658420e14bc490520b;hpb=90d53c717d5d704da284cfa3b1484c11bd6c0bb1;p=patchwork diff --git a/templates/patchwork/pwclientrc b/templates/patchwork/pwclientrc index 7aaf346..d331003 100644 --- a/templates/patchwork/pwclientrc +++ b/templates/patchwork/pwclientrc @@ -1,15 +1,15 @@ # Sample .pwclientrc file for the {{ project.linkname }} project, # running on {{ site.domain }}. # -# Save this file to ~/.pwclientrc -# -[base] -url: http://{{site.domain}}{% url django_xmlrpc.views.handle_xmlrpc %} -project: {{ project.linkname }} -{% comment %} +# Just append this file to your existing ~/.pwclientrc +# If you do not already have a ~/.pwclientrc, then copy this file to +# ~/.pwclientrc, and uncomment the following two lines: +# [options] +# default={{ project.linkname }} + +[{{ project.linkname }}] +url= {{scheme}}://{{site.domain}}{% url 'patchwork.views.xmlrpc.xmlrpc' %} {% if user.is_authenticated %} -[auth] -user: {{ user.username }} +username: {{ user.username }} password: {% endif %} -{% endcomment %}