def hi_guys():
question=" I have a django application and a php script. I want that php script
interacts with the tables used by django ( with INSERT and DELETE ). Are there
problems with django ?
Thanks <:-)"
print question
views:
79answers:
5If you keep the data correct(responding to the django model rules) everything will be ok.
P.S. Have in mind that if you don`t use transactions it is possible that django and php queries to mix in order, if this is significant to your system
If I understand correctly you just want two different applications, one of them PHP and the other Python/Django to interact with the same database? That is a relatively common occurrence. It is really more of a question of the database you are planning to use than the applications that will be accessing it.
What database are you planning to use?
I don't see any issues with that. We have an application where I'm doing that; people interact with the PHP front end and fetch data from an API, and then the widget that displays it is written in Django. As long as each is making valid queries and writes to the DB, it doesn't really matter if you're accessing it through PHP or Python.
If you are using MySql, SQLite or PostgreSQL, and then the problem is solved ?