- 🔭 I’m currently working on Payroll App
- 🌱 I’m currently learning Django ( Advance )
- 💬 Ask me about Django, APIs
- 📫 How to reach me selftaughtdev@pm.me
24 July 2023 | Updated: 24 July 2023
Django's ORM is a powerful tool that can make interacting with your database as simple as working with Python code. One of the most powerful parts of Django's ORM is the annotate function, which can add extra "fields" to your models, based on complex... | 28 Dec 2022 | Updated: 13 Feb 2023
Connecting to a PostgreSQL database running on an Ubuntu VPS from a local machine using VS Code involves the following steps: Install the "PostgreSQL" extension in VS Code: it should look like the below screenshot.👇 Click "Install" to install... | 26 Dec 2022
Using pre-commit tools can be a great way to improve the quality and consistency of your code, as well as streamline your development workflow. Pre-commit tools are tools that run automatically before you commit your code changes to a version control... |
26 Dec 2022
The .editorconfig file is a simple configuration file that helps developers define and maintain consistent coding styles between different editors and IDEs. It is a plain text file that can be placed in the root directory of a project, and specifies ... | 17 Dec 2022
The super() keyword is a useful tool in Django, a high-level Python web framework, for working with inheritance in classes. It allows a subclass to refer to its parent class, allowing the subclass to inherit attributes and methods from the parent cla... | 14 Dec 2022 | Updated: 14 Dec 2022
In this tutorial, we will deploy a Django app over Ubuntu VPS with Gunicorn + Nginix. We are going to use Vultr VPS for this tutorial. You can use any other VPS provider as well. 1. Create a new user adduser yourusername usermod -aG sudo youruserna... |
9 Nov 2022
Docker is a wonderful tool to containerise your website. A website have many micro services & inter dependent in most of the cases. Things even get more worse when we try to setup our app on different PC / Operating System. Docker is a lifesaver in t... | 17 Oct 2022
""" Run this command in Terminal after activating environment: python -c "import nltk;nltk.download('stopwords')" python -c "import nltk;nltk.download('punkt')" """ from bs4 import BeautifulSoup import requests from rake_nltk import Rake rake = Rak... | 15 Oct 2022 | Updated: 16 Oct 2022
Hey Folks, In this Blog, I am going to show you how can return only those fields from the API which user have requested by passing them in URL as parameters. this way your API users can only request those fields which they need & this will remove som... |