Wednesday, May 20, 2015

Re: Kivy and Djangp

You need to do a web service with django I suggest a restfull service and with kivy urlrequest create a client.



2015-05-13 18:07 GMT-06:00 john <johnf@jfcomputer.com>:
Kivy is the client side of the project.  Like any client (that includes Kivy) you would use http (that's the normal setup) or maybe pycurl (not to sure pycurl is pure python and you need pure python to work with Kivy) to access the URL (the address of your django URL).  On the django side the URL points to the view and the view will process the request and return your data.  The return data format will be up to you - maybe json or xml.  Have you taken a look at django-restful- framework?

Johnf


On 05/13/2015 03:12 PM, steven kyalo wrote:
Hello everyone,

Am doing a mobile app using Kivy. The app should be getting some data from a server, for which i have used Django to develop the server side requirements. 

My problem is where do i put my Kivy scripts so that i can access the Django application web services. Which scripts of Django do i have to access? - the urls or the views? Kindly help me understand this.
--
You 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/9d3c53ed-3dad-4a57-9e7d-8fe7a6673205%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You 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/5553E726.5010509%40jfcomputer.com.

For more options, visit https://groups.google.com/d/optout.



--
"La utopía sirve para caminar" Fernando Birri


--
You 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/CAG%2B5VyPTr_qQ7LmccchsTkZqhTEu%3DiJRT1p%3D2%2B96cvxH3Vwo0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment