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
-~----------~----~----~----~------~----~------~--~---