Closed GoogleCodeExporter closed 8 years ago
Have you run `manage.py syncdb`? Looks like you have updated your SVN checkout
without doing a re-sync of the database.
If you need to create the table manually, you can use the following SQL
(Postgres, YMMV)
BEGIN;
CREATE TABLE "forum_forum_groups" (
"id" serial NOT NULL PRIMARY KEY,
"forum_id" integer NOT NULL REFERENCES "forum_forum" ("id") DEFERRABLE INITIALLY
DEFERRED,
"group_id" integer NOT NULL REFERENCES "auth_group" ("id") DEFERRABLE INITIALLY
DEFERRED,
UNIQUE ("forum_id", "group_id")
)
;
COMMIT;
If you're still having troubles, please provide further information (eg was it
an
upgrade, or fresh install? What tables have already been created? etc).
Original comment by rwpoul...@gmail.com
on 31 Mar 2009 at 12:24
Well it was first an upgrade, and yes I did a syncdb.
Since my project is still in development I decided to drop the tables and
reinstall
the forum app. But still no forum_forum_groups table. I eventually figured out
wich
fields that I had to make in the table.
To me it looks like this table isnt in models.py. But I might be mistaken since
I am
quite new to django.
Original comment by ZubZ...@gmail.com
on 31 Mar 2009 at 4:53
Original issue reported on code.google.com by
ZubZ...@gmail.com
on 30 Mar 2009 at 7:36