Re: Trouble with default values in model w/ sqlite

2006-06-23 Thread Jamie Scheinblum
f not getattr(self, field.name): setattr(self, field.name, field.get_default())super(User, self).save() I really don't like this solution, but it works, and does not require any changes/patches to the django libraries.Cheers,-jOn 6/21/06, Jamie Scheinblum <[EM

Trouble with default values in model w/ sqlite

2006-06-21 Thread Jamie Scheinblum
Hi,I'm having trouble with default values in my model.  I've tried to establish what the default for a column should be when the input doesn't supply a value.  The model defaults seem to work fine when using django's python shell, but when I use either the admin interface or my own view, the defaul

Re: recursive template calls

2006-02-07 Thread Jamie Scheinblum
that's funny. they answered how to do the tree thing, but the wiki basically says no recursion... I should look into the % recurse % keyword tho. -j On 2/7/06, Shannon -jj Behrens <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm trying to build ye ol' bulletin board application to try out > Django.