i'll try it, but the database seems to be initialized properly, because when i look at the data thru the admin interface, it all looks good. it's the part where the template shows the checkboxes (after retrieving the data and presumably picking up the dslots.taken flag for each one) that shows all the boxes checked.

Vizcayno <[EMAIL PROTECTED]> wrote:

> INSERT INTO sched_day (name) VALUES ('Eight To Five');
> INSERT INTO sched_dayslot (slot, taken, day_id) VALUES ('08:00',
> 'True', '1');
> INSERT INTO sched_dayslot (slot, taken, day_id) VALUES ('09:30',
> 'True', '1');
> INSERT INTO sched_dayslot (slot, taken, day_id) VALUES ('11:00',
> 'False', '1');
> INSERT INTO sched_dayslot (slot, taken, day_id) VALUES ('12:30',
> 'False', '1');
> INSERT INTO sched_dayslot (slot, taken, day_id) VALUES ('02:00',
> 'False', '1');
> INSERT INTO sched_dayslot (slot, taken, day_id) VALUES ('03:30',
> 'False', '1');
>

Did you try putting 1 or 0 instead of 'True' or 'False' respectively?
Regards.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to