Changes between Initial Version and Version 1 of Ticket #29574, comment 14
- Timestamp:
- Sep 14, 2024, 5:22:44 AM (2 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29574, comment 14
initial v1 1 I have reproduced the {{{ foreign key mismatch - "testapp_c" referencing "testapp_b" }}}error but with slightly different steps:1 I have reproduced the foreign key mismatch error but with slightly different steps: 2 2 1. Add the models to models.py 3 3 {{{ … … 36 36 }}} 37 37 5. Go with option 1 and provide an integer (I provided 0) 38 6. Migrate and you'll see the error: 39 {{{ 40 foreign key mismatch - "testapp_c" referencing "testapp_b" 41 }}} 38 6. Migrate and you'll see the foreign key mismatch error