Hello, this has been annoying me all day - any suggestions welcome.
I am receiving an IntegrityError from web2py when trying to insert a
record into a table named Foods. The table has a foreign key to
Recipes, but I would like to add a row without a recipe_id.
I receive this sql error:
class
I have encountered this too. Are there any suggestions/fixes to solve
this issue?
On Jun 2, 9:54 am, Oskari oskari.pe...@gmail.com wrote:
Yes I did. Dal seems to try to put 0 in database but MySQL rejects the
value, since there is no row with index 0. I think the proper way to
indicate None in
2 matches
Mail list logo