Open nikson07 opened 2 years ago
I am using Allauth package, and it tried to nest a hcaptcha form with another form.
forms.py
class CaptchaForm(forms.Form):
hcaptcha = hCaptchaField()
customtag.py
@register.simple_tag()
def get_hcaptcha_form():
return CaptchaForm
In signup form html im using this <div>
<div class="h-captcha d-flex justify-content-center" data-sitekey="{{ site_key }}" style="margin-bottom: 15px"></div>
W'z up bro. I tired to make a custom tag to inherit hcaptcha form. But got an error.
Django tried loading these templates, in this order:
...
Django tried to find this html widget, but it was already in template folder, but still can't see it.