◄ ► | Muuda | Home | Admin | en de fr et | Sign in

#1806 ('GenericForeignKey' object has no attribute 'to_python' )

by tonis · in Jane users

Kokkuvõte

'GenericForeignKey' object has no attribute 'to_python'

Caused when calling a insert action with a model that uses a GKFK,

workaround is to define owner_type and owner_id.

 

However this is just a workaround I bet there's a better solution.

Children

Kommentaarid