SarathkumarJ / snapboard

Automatically exported from code.google.com/p/snapboard
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Debug prompt during syncdb does not accept an answer #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Snapboard revision 90, django revision 4462.  

When you run a syncdb and you have DEBUG=True in your settings, you get
prompted to populate the db tables with test data.  If you answer no, the
test data still gets populated.

Turns out the statements under the while look were not getting executed. 
This is an example where a case statement would really come in handy.  Now
if we can only get Guido to ok it into the silly language.  

Until then, see attached patch for how I resolved it locally for testing.

Original issue reported on code.google.com by johnnie....@gmail.com on 9 Feb 2007 at 6:58

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in svn 94

Original comment by bs1...@gmail.com on 9 Feb 2007 at 3:27

GoogleCodeExporter commented 8 years ago

Original comment by bs1...@gmail.com on 9 Feb 2007 at 11:46