Comments (1)
{% recaptcha_init %}
is only a helper to make simpler to include the google script in your project. Only the explicit init is more complicated. I didn't understand what you mean with "you have to do the captcha check in two places", but I agree with you that you need to know if a page needs to display a recaptcha to make the init conditional.
I'm investigating for find a way to add it automatically, buy my concerns are about how pass parameters to initialization, how to place the code in the right position (inside head) and how to detect if it is already included.
If you don't mind I mark this issue as enhancement.
from django-recaptcha2.
Related Issues (18)
- Testing HOT 3
- Missing __init__ in namespace packages HOT 4
- Allow passing reCaptcha settings in field constructor HOT 2
- Fails during request.post to Google's siteverify, how to capture logging info? HOT 2
- Unable to render captcha for multiple forms on a single page HOT 3
- Not compatible with Django 2.1 HOT 6
- Signup Form not showing the captcha field. HOT 1
- Broken extra css classes for invisible captcha HOT 1
- reCAPTCHA proxy support HOT 3
- Reload on ajax HOT 1
- recaptcha_host variable is passed to the wrong tag HOT 1
- rendring multi invsible recptha in one page HOT 1
- How to startγ
- KeyError 'error-codes' HOT 8
- white space error HOT 1
- Misunderstanding with backend part in examples. HOT 2
- Add invisible support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-recaptcha2.