Viewing posts tagged serializer
In the previous post (http://www.restapibuilder.com/blog/how-to-create-an-easy-restful-api-for-a-simple-model/) I explained a little bit how to create a basic API for a City model. I used our home page in order to create the serializer, modelviewset and url needed to our first move.
In this first blog I would like to show how you can create a simple project with a restful api for a single model. The tools will be django and django rest framework.