Hi Melvyin still not working
$(".captcha_form").submit(function(event){
event.preventDefault();
var form = $(this)
alert (form.serialize())
$.ajax({
type: "POST",
url: "./captcha",
contentTy
Hi Melvyn
thanx a lot . I will try tomorrow early morning and will let u know. Thanx.
valerio
On Monday, March 27, 2017 at 3:31:38 PM UTC+2, Melvyn Sopacua wrote:
>
> Hi,
>
>
>
> {% if field.name = 'captcha' %}
>
>
>
> assigns 'captcha' to field.name and returns if that succeeded. So it's
Hi,
{% if field.name = 'captcha' %}
assigns 'captcha' to field.name and returns if that succeeded. So it's always
true. You
probably mean:
{% if field.name == 'captcha' %}
>From what you describe, testfield shows up and your template code says it
>shouldn't
show up.
However, when debugging
testfield is where i type my captcha, sorry
On Monday, March 27, 2017 at 2:38:15 PM UTC+2, valerio orfano wrote:
>
> Hi Melvyn thanx for ur reply,
>
> this is my form.
>
> class AjaxForm(forms.ModelForm):
> captcha = CaptchaField()
> class Meta:
> model = ajaxModel
> exclud
Hi Melvyn thanx for ur reply,
this is my form.
class AjaxForm(forms.ModelForm):
captcha = CaptchaField()
class Meta:
model = ajaxModel
exclude = []
class ajaxModel(models.Model):
testfield = models.TextField(null=True, blank=True)
If i don't use a ajaxmodel a get an
On Monday 27 March 2017 04:46:06 valerio orfano
wrote:
> {% if field.name = 'captcha' %}
It may not make a difference if you only have one
visible field, but this is not a comparison.
--
Melvyn Sopacua
--
You received this message because you are subscribed to the Google Groups
"Django users
btw this is my html:
{%csrf_token%}
{{ form.non_field_errors }}
{% for field in form.visible_fields %}
{% if field.name = 'captcha' %}
{{field}}
{% endif %}
{{ field.errors }}
{% endfor %}
{% for field in form.hidden_fields %}
{{ field }}
Hi Andreas thak you very much.
I've changed my html with the following:
$(document).ready(function(){
$.ajaxSetup({
beforeSend: function(xhr, settings) {
function getCookie(name) {
var cookieValue = null;
if
You Ajax call have a suspicious "data: {}" in the middle of all the
arguments.
On 27 Mar 2017 10:23 am, "valerio orfano" wrote:
Hi, I managed to make an ajax call. But the form is always invalid. IT is
like the captcha field passed to the view is always empty.
valerio
On Monday, March 27, 201
Hi,
First of all - you are not sending anything to the form.
$.ajax({
type: "POST",
url: "../captcha",
contentType: "application/json",
data: {},
dataType: "json",
success: function(data) {
Hi, I managed to make an ajax call. But the form is always invalid. IT is
like the captcha field passed to the view is always empty.
valerio
On Monday, March 27, 2017 at 8:48:17 AM UTC+2, valerio orfano wrote:
>
> I have the following class view taken from documentation:
>
> class CaptchaView(Cr
May be you are missing a data base migration?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, s
Belowe the steps i have followed, but it doesnt work. I type in my browser
: www.localhost/capthca but no image is displayeded and i get an error : no
such table: captcha_captchastore
I dont find it very simple as suggested from documentation. Do you have any
simple tutorial?
1.pip instal
I am using django-recaptcha2, that is a google recaptcha...
Very simple to setup and use and works very well
2017-03-22 11:20 GMT-03:00 valerio orfano :
> Hi
>
> i am trying to apply captcha process to my web site. I could find any
> clear documentation out there (at least clear to me). Do you kn
because its easy for them and they don't really get anything from doing it
otherwise? ;)
You'll find you have to head to SVN quite often to get projects in Django
I'm afraid, it just seems to be fairly common practice. Although, many
people are moving to github and it offers a download.
Cheers,
D
So i have to install svn on mymachine? Why people make download so
complicated...
On May 20, 10:22 pm, jai wrote:
> svn checkouthttp://django-simple-captcha.googlecode.com/svn/trunk/
> django-simple-captcha-read-only
>
> On May 21, 9:30 am, online wrote:
>
> > Could anyone please recommend
svn checkout http://django-simple-captcha.googlecode.com/svn/trunk/
django-simple-captcha-read-only
On May 21, 9:30 am, online wrote:
> Could anyone please recommend a open source library captcha working
> fine with django?
>
> http://code.google.com/p/django-simple-captcha/ looks but i just
> c
2009/5/21 online
> Could anyone please recommend a open source library captcha working
> fine with django?
Personally, I'm a fan of ReCAPTCHA, but it may not be quite what you're
after.
> http://code.google.com/p/django-simple-captcha/ looks but i just
> cannot find where to download.
You
Did you browse google code already?
http://code.google.com/p/django-captcha/
I bet there are more apps there...
Best regards,
Martin
2009/4/8 Joshua Partogi
>
> Hi all,
>
> Can anyone recommend me any good django captcha apps? I tried search
> on the list but the results that is returned is m
syhpoon wrote:
> Error occurs when I try to load template with form that is protected
> with captcha, i.e. when I put {%load captcha%} {%captcha%} into my
> template, without these lines it renders fine, but, naturally without
> captcha image. The strangest thing for me is that, as I've mentioned
Error occurs when I try to load template with form that is protected
with captcha, i.e. when I put {%load captcha%} {%captcha%} into my
template, without these lines it renders fine, but, naturally without
captcha image. The strangest thing for me is that, as I've mentioned
before, with django int
Hi Syhpoon.
the captcha should work fine, (it did the last time I tried it with
the TRUNK, i've been focusing on other spots lately)
is it complaiing like this when you are fetching the image, or when
you are generating
the page with the fields, or when you post the data back to it?
if you coul
Yes, I do use prefork mpm
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL
On 3/1/06, syhpoon <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I've tried django captcha
> (http://feh.holsman.net/articles/2005/12/15/django-captcha-app) but got
> strange behaviour:
> With internal django web server everything works just fine, but I got a
> really misterious error with apache 2.0.55 an
24 matches
Mail list logo