the solucion is in datamodel article.category:
error:
Field("parent_id", "reference article_category", default=44),
solucion:
Field("parent_id", "reference article_category"),
thanks bruno
2013/1/10 samuel bonilla <[email protected]>
> but : what can i do about it ?
>
>
> 2013/1/9 samuel bonilla <[email protected]>
>
>> thanks bruno..... you're a genius
>>
>>
>> El jueves, 3 de enero de 2013 20:30:53 UTC-5, samuel bonilla escribió:
>>
>>> this is the error
>>>
>>> <class '_mysql_exceptions.**IntegrityError'> (1452, 'Cannot add or
>>> update a child row: a foreign key constraint fails (`samuel$otra`.`article_
>>> **category`, CONSTRAINT `article_category_ibfk_1` FOREIGN KEY
>>> (`parent_id`) REFERENCES `article_category` (`id`) ON DELETE CASCADE)')
>>>
>>> help me please....
>>>
>> --
>>
>>
>>
>>
>
>
--