[Python-modules-commits] [django-simple-captcha] 09/10: Add missing files.

Brian May bam at moszumanska.debian.org
Wed Dec 2 21:49:00 UTC 2015


This is an automated email from the git hooks/post-receive script.

bam pushed a commit to branch master
in repository django-simple-captcha.

commit c1fc139718340e94ba319bc1b2c0d7da1987183a
Author: Brian May <bam at debian.org>
Date:   Thu Dec 3 08:13:29 2015 +1100

    Add missing files.
    
    These files were missing from the upstream 0.4.8 release.
    https://github.com/mbi/django-simple-captcha/issues/100
---
 testproject/templates/captcha_test/image.html |  4 ++++
 testproject/templates/home.html               | 12 ++++++++++++
 2 files changed, 16 insertions(+)

diff --git a/testproject/templates/captcha_test/image.html b/testproject/templates/captcha_test/image.html
new file mode 100644
index 0000000..36ae498
--- /dev/null
+++ b/testproject/templates/captcha_test/image.html
@@ -0,0 +1,4 @@
+{% load i18n %}
+{% spaceless %}
+    {% if audio %}<a title="{% trans "Play CAPTCHA as audio file" %}" href="{{audio}}">{% endif %}<img src="{{image}}" alt="captcha-template-test" class="captcha" />{% if audio %}</a>{% endif %}
+{% endspaceless %}
\ No newline at end of file
diff --git a/testproject/templates/home.html b/testproject/templates/home.html
new file mode 100644
index 0000000..6ed1f8a
--- /dev/null
+++ b/testproject/templates/home.html
@@ -0,0 +1,12 @@
+<body style="background-color: #aba">
+<form action="." method="post">
+    {% csrf_token %}
+
+    {{form.captcha.errors}}
+    {{form.captcha}}
+
+    <div>
+        <input type="submit" value="Submit" />
+    </div>
+</form>
+</body>
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-simple-captcha.git



More information about the Python-modules-commits mailing list