]> git.ozlabs.org Git - patchwork/blobdiff - patchwork/templates/patchwork/pwclientrc
Move to a more recent django project structure
[patchwork] / patchwork / templates / patchwork / pwclientrc
diff --git a/patchwork/templates/patchwork/pwclientrc b/patchwork/templates/patchwork/pwclientrc
new file mode 100644 (file)
index 0000000..d331003
--- /dev/null
@@ -0,0 +1,15 @@
+# Sample .pwclientrc file for the {{ project.linkname }} project,
+# running on {{ site.domain }}.
+#
+# 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 %}
+username: {{ user.username }}
+password: <add your patchwork password here>
+{% endif %}