Kivy and Djangp

276 views
Skip to first unread message

steven kyalo

unread,
May 13, 2015, 7:34:08 PM5/13/15
to django...@googlegroups.com
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.

john

unread,
May 13, 2015, 8:07:34 PM5/13/15
to django...@googlegroups.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
--
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...@googlegroups.com.
To post to this group, send email to django...@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.

Luis Zárate

unread,
May 20, 2015, 10:17:00 PM5/20/15
to django...@googlegroups.com
You need to do a web service with django I suggest a restfull service and with kivy urlrequest create a client.




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



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


Reply all
Reply to author
Forward
0 new messages