Asinox
Asinox

Reputation: 6865

how know where is the error?

im using a django app (django adzone), well, but im trying to add banners, and django zone tell me " please fix the errors" , but nothing more, i cant see where are the errors.

any idea how ill know ?

EDITED

There's not trace about the error or something like that, is just a django admin message see the images alt text

thanks

Upvotes: 1

Views: 955

Answers (3)

eveiga
eveiga

Reputation: 206

Been there, seen that!

It's not a chrome bug it's the Ad blocker blocking the input!

You can: Deactivate the Ad blocker or rename the field (Advertise)

Cheers

Upvotes: 0

Asinox
Asinox

Reputation: 6865

OK, i know where is the error.

There's another field named "Advertiser", but Chrome dont display this field, i dont know why. sorry i think there is not error, just a Chrome "bug".

FF,Opera, IE are showing the complete form.

Thanks

Upvotes: 0

Bite code
Bite code

Reputation: 596673

Then your best shot is to install ipdb (easy_install ipdb) then drop these lines in at the end of the is_valid method (and if not create it):

import ipdb; ipdb.set_trace()

Save your form again, then go to the router. You'll have access to a shell where you can inspect several suspects like:

  • self.data
  • self.errors

Upvotes: 1

Related Questions