Assuming you're trying to build a REST API and not a HTML website, you should look at http://www.django-rest-framework.org/ as it provides a lot of djangonic convenience methods for building REST APIs with the Django ORM.
On Thursday, February 1, 2018 at 9:16:47 AM UTC-8, pratibha sharma wrote: > > Hi, > > I have created 2 example websites in Django i.e. Voting and event booking > systems. > I want to learn to create microservice in Django. I took below example for > it. > > Service will > 1. take data from UI (it will send it in JSON format), > 2. store data in DB(MySQL) > 3. Send Data to a device (in JSON format) > > My mind is flooded with questions like > how UI and service with communicate? > how can service communicate to device? etc. > > I am not sure where should I start and how to create the design for this > work. I am new in microservice and some experience in django. > > Please guide me. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ee24fd34-b612-4d79-8980-c79fbd4e54bf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

