Important If you have already created your virtual environment and your django app, then you can skip first few sections. In this post, we are going to learn how to deploy django app on heroku. So, let’s begin. 1. Create A Django Project (Skip if already created) I would like to make a directory first […]
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, […]
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. […]
Django – A Full Stack Web Programming – Should I use it?
Introduction Django is a python-based and open source full stack web programming framework. With a little knowledge of python, you can easily learn Django and be able to deploy it in the web. Being simple and easy to learn, starters can begin their journey of web programming from this framework. However, it is a Model-View-Template […]