CodeIgniter & Datamapper as frontend, Django Admin as backend, database tables inconsistent

Posted by Rasiel on Stack Overflow See other posts from Stack Overflow or by Rasiel
Published on 2010-03-25T17:11:09Z Indexed on 2010/03/25 17:13 UTC
Read the original article Hit count: 624

I created a database for a site i'm doing using Django as the admin backend. However because the server where the site is hosted on, won't be able to support Python, I find myself needing to do the front end in PHP and as such i've decided to use CodeIgniter along with Datamapper to map the models/relationship.

However DataMapper requires the tables to be in a specific format for it to work, and Django maps its tables differently, using the App name as the prefix in the table. I've tried using the prefix & join_prefix vars in datamapper but still doesn't map them correctly.

Has anyone used a combination of this? and if so how have the fixed the issue of db table names being inconsistent? Is there anything out there that i can use to make them work together?

© Stack Overflow or respective owner

Related posts about django

Related posts about django-models