Let's assume the following code layout:
- ${HOME}/django-trunk -- Django trunk
- ${HOME}/django-phpbb-read-only -- django-phpbb checked out from Subversion
Create a symbolic link, that will put phpbb directory under Django's contrib:
cd ${HOME}/django-trunk/django/contrib
ln -s ../../../django-phpbb-read-only/phpbbYou'll also need to edit settings.py and configure Django to use the same database that phpBB3 is using. If you want to prevent Django from accidentally writing to phpBB3 tables, set up permissions in the database and have a separate database user for Django. Otherwise, use the same database user and password that phpBB3 is using.
See also
No ok, zainstalowałem Ale jak tego używać? o_O
I added a new page with an usage example.
Hello, how to make the app use a separate phpBB3 database?
Dolugen, you could do this using Django's multiple databases support, due for 1.2 or use trunk if you are in a hurry ;) http://code.djangoproject.com/wiki/MultipleDatabaseSupport
Hey thanks for the link, lad. I wonder if maciej.blizinski (the owner) has abandoded the project?
The phpBB user table is phpbb_user not phpbb3_user like in django-phpbb's model. I had to rename the phpbb_user table to see the app really works. Or am I doing something wrong?