Changes between Initial Version and Version 1 of Ticket #19167, comment 5


Ignore:
Timestamp:
Oct 23, 2012, 6:21:34 AM (12 years ago)
Author:
Aymeric Augustin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19167, comment 5

    initial v1  
    66        _things = Things.objects.all()
    77    return _things
     8
     9# instead of
     10# things = Things.objects.all()
    811}}}
    912I 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".
Back to Top