I had searched in the web about local communication between apps, but I didn't find anything (or, at least, didn't catch it) about calling an app from another. Let's say I've this:
Each app (by the way, first time doing a really RESTfull service, maybe I'm wrong with the style) have their models. app1 have a table for user, and app2 needs to communicate with it to list all the users (gived or not a QUERYSTRING for filtering). From app2.views, how could I get that data in a Django way?
-- http://localhost:8000/app1/resources/user?id=123
http://localhost:8000/app2/list_usersYou received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/34bdde3e-6422-49e0-9285-9113ed0abf7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment