What do you exactly mean by saying: "Did you alter the db so it would
allow that field to be null?"

I returned to previous version without "null=True", syncdb, but still
same... :-(

I have downloaded code today. Is it possible, that thre would be some
little bug currently? Does somebody tried recently?

Thanks for any idea.

On Mar 8, 6:29 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Did you alter the db so it would allow that field to be null? Better
> yet, now that I look at it.. forget making it null. Make sure it's
> defaulting to 0, like it's supposed to.
>
> On Mar 8, 11:08 am, "zehi" <[EMAIL PROTECTED]> wrote:
>
> > HI baxter,
>
> > I did exactly as you proposed, but the result is unfortunately the
> > same.
>
> > I've even created fresh database, but when I go to Admin, create the
> > new category and then trying to add new Forum and getting the same
> > error page saying as above...
>
> > Some other idea, what could cause the problem?
>
> > Thank you.
>
> > On Mar 8, 3:44 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
>
> > > I've never seen it, so I'm just speculating here, but I think it's
> > > throwing a wobbly cause you don't have any topics in the forum yet.
> > > Looking at the source, I see:
> > > class Forum(models.Model):
> > >    ...
> > >    forum_topics = models.PositiveIntegerField(default='0', blank=True,
> > > verbose_name=_("Topics")) # number of topics
>
> > > I think if you add null=True there (and update the DB to match) you
> > > should be OK.
>
> > > On Mar 8, 5:08 am, "zehi" <[EMAIL PROTECTED]> wrote:
>
> > > > Hi,
>
> > > > I downloaded diamanda fro google.code and followed instructions 
> > > > at:http://diamanda.googlecode.com/svn/trunk/README.TXT
>
> > > > Everything works just fine, I have anly problem with 'Add Forum'.
>
> > > > I am getting the following error message:
>
> > > > IntegrityError at /admin/myghtyboard/forum/add/
> > > > myghtyboard_forum.forum_topics may not be NULL
> > > > Request Method:         POST
> > > > Request URL:    http://127.0.0.1:8000/admin/myghtyboard/forum/add/
> > > > Exception Type:         IntegrityError
> > > > Exception Value:        myghtyboard_forum.forum_topics may not be NULL
> > > > Exception Location:     
> > > > /Library/Frameworks/Python.framework/Versions/2.5/
> > > > lib/python2.5/site-packages/django/db/backends/sqlite3/base.py in
> > > > execute, line 92
>
> > > > The question is: what couse the problem?
>
> > > > Thank you.


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to