Django Rest API – From Scratch – Part 2

Let’s serialize our own models This is the continuation of part 1 of my tutorial series. So, if you haven’t viewed part 1 of the tutorial, then you can find it here: https://nepcodex.com/blog/2019/07/django-rest-api-from-scratch-part-1/ Register We have already created our todo app, hence we need to register it in our settings.py file. Creating own model Now, … Read more Django Rest API – From Scratch – Part 2

Django Rest API – From Scratch – Part 1

Let’s create a todo app quickly Project Setup Create a directory where all your project files and environment exist. You shouldn’t install any python module globally because every project has different dependencies. The dependencies should be installed in the scope of a project. Therefore, you should create a virtual environment and activate it as following. … Read more Django Rest API – From Scratch – Part 1