Changes between Initial Version and Version 1 of Ticket #19167, comment 5
- Timestamp:
- Oct 23, 2012, 6:21:34 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19167, comment 5
initial v1 6 6 _things = Things.objects.all() 7 7 return _things 8 9 # instead of 10 # things = Things.objects.all() 8 11 }}} 9 12 I presume that `syncdb` fails on your current code, because it will attempt to load `Entity` objects before the corresponding table is created in the database. This is the most obvious reason why I said "don't do that".