开发者

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

how know where is the error?

thanks


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


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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜