Re: What am I doing that is sooo wrong with newforms??

2008-06-16 Thread Fernando Gutierrez
[EMAIL PROTECTED] wrote: > You can't assign to the form so your code should look like: > > if form.is_valid(): > c = form.save(commit=False) > c.user = request.user > Since the field in the model is "commentUser" it should be: c.commentUser = request.user > c.save() > > call

Re: Not possible activate the admin site

2006-06-05 Thread Fernando Gutierrez
Did you svn update from previous trunk to magic-removal? I experienced this because svn update left a directory urls in django/contrib/admin/urls/, so i think there was some type of conflict with the urls.py that is now directly in the django/contrib/admin/ GinTon escribió: > Solved after of

Re: auto_now_add bug with MySQL

2006-05-05 Thread Fernando Gutierrez Honorio
s produces the error, object.b_set.create().save() but: object.b_set.create() does the trick, i think that the first one shouldn't be used, i left it like that while changing code to use the Magic-Removal version of django. I hope this also helps you. -- Fernando Gu