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


Ignore:
Timestamp:
10/23/12 06:21:34 (2 years ago)
Author:
aaugustin
Comment:

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