views:

236

answers:

2

i am working with python django framework but in model part is sqlalchemy and back end data base is mysql how i will configure them???

A: 

See Django database installation,

If you’re using MySQL, you’ll need MySQLdb, version 1.2.1p2 or higher. You will also want to read the database-specific notes for the MySQL backend.

And the MySQL notes,

Django expects the database to support transactions, referential integrity, and Unicode (UTF-8 encoding). Fortunately, MySQL has all these features as available as far back as 3.23. While it may be possible to use 3.23 or 4.0, you'll probably have less trouble if you use 4.1 or 5.0.

gimel