I'm using Django as an admin on my webfaction server but I just wrote a php app on my work server that I'd like to have access to the Django-created data.
I want my work server to have permission to access my webfaction server. Is that possible?
asked Jul 26 '12 at 15:41
Django does not include a PHP library, and PHP does not include a Django library.
You have to use a common format to transfer data to and from Django, basically an API.
Django has many options for an API, my personal favorite is tastypie.
Using tastypie to produce the Django data in the JSON format you can use a JSON library in PHP to decode it.
answered Jul 26 '12 at 23:12