1👍
Because the exmaple_foo table hasn’t been created yet, so it can’t add a reference. However it does do that afterwards by doing an ALTER TABLE to add an index, which you can see when you do ./manage.py sqlall
.
However this method of table creation is superseded by the migrations functionality in 1.7.
- [Answer]-Setting up a subscription with Stripe – Django-stripe-payments – Error TemplateDoesNotExist
Source:stackexchange.com