I have no idea where the error happens. If it is not a in form submission
"requires" is not considered...


2013/1/5 Derek <sp1d...@gmail.com>

> but wouldn't his 'requires=' catch this before it even gets to the db?
>
>
> On Friday, January 4, 2013 3:51:30 PM UTC-7, Michele Comitini wrote:
>
>> Possible solutions:
>>
>> 1. Probably Bruno Rocha can help you better, so you can try to post a
>> issue on github.
>> 2. You can find what is the "parent_id" you are trying to insert then
>> create an appropriate record with the needed "id".
>> 3. In case you don't have anything of value in the database just clean
>> drop the mysql database and create a new one.
>>
>>
>>
>>
>> 2013/1/4 samuel bonilla <pytho...@gmail.com>
>>
>> I can do to fix this problem ?
>>>
>>>
>>>
>>> El jueves, 3 de enero de 2013 20:30:53 UTC-5, samuel bonilla escribió:
>>>
>>>> this is the error
>>>>
>>>> <class '_mysql_exceptions.**IntegrityEr**ror'> (1452, 'Cannot add or
>>>> update a child row: a foreign key constraint fails (`samuel$otra`.`article_
>>>> **catego**ry`, CONSTRAINT `article_category_ibfk_1` FOREIGN KEY
>>>> (`parent_id`) REFERENCES `article_category` (`id`) ON DELETE CASCADE)')
>>>>
>>>> help me please....
>>>>
>>>  --
>>>
>>>
>>>
>>>
>>
>>  --
>
>
>
>

-- 



Reply via email to