In Django project, I have a class, "ClassName" that has a table in postgresql.
I also have Proxy class, inherit from "ClassName", with name "ProxyClassName".
if run refresh_from_db() on instance of "ProxyClassName", everything is fine, but if I specify any fields, refresh_from_db(fields=['field1', 'field2', 'field3']), code will crash with error "Process finished with exit code -1073741571 (0xC00000FD)"
I see it has something to do with stack overflow and stack size (Process finished with exit code -1073741571 (0xC00000FD) in Python), but how should I prevent this from happening?
Asked
Active
Viewed 16 times
0
emran vfd
- 11
- 1