On Feb 4, 2008 6:43 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> as you can see, I hide the primary and foreign key fields (yes, I am
> aware of the security implications: can we fix the real problem
> please ;-)

This is a real problem. You need to fix it, or someone will hack you.

> <input type="hidden" name="ansid" value="1345" id="id_ansid" />
> <input type="hidden" name="ansqueid" value="341" id="id_ansqueid" />

You're trying to assign a number to a foreign key field that expects
an honest-to-goodness instance of the related model. And when you fix
that, someone's going to hack you.


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
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 PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to