10 Must-Know Python Libraries
Introduction
Python has emerged as one of the most popular programming languages, thanks to its simplicity, versatility, and the vibrant community supporting it. Python libraries play a pivotal role in extending the language's capabilities, allowing ...
Read: https://leveluptech.hashnode.dev/10-must-know-python-libraries
Introduction
Python has emerged as one of the most popular programming languages, thanks to its simplicity, versatility, and the vibrant community supporting it. Python libraries play a pivotal role in extending the language's capabilities, allowing ...
Read: https://leveluptech.hashnode.dev/10-must-know-python-libraries
👍1
Get User's Location, Country and Currency in Django
I once had to create a location-based ecommerce application with Django Web Framework as the backend. While building the project, I needed a way to display products’ prices and currency based on the current user’s location. I made some research, got ...
Read: https://delighto.hashnode.dev/user-location-country-and-currency-in-django
I once had to create a location-based ecommerce application with Django Web Framework as the backend. While building the project, I needed a way to display products’ prices and currency based on the current user’s location. I made some research, got ...
Read: https://delighto.hashnode.dev/user-location-country-and-currency-in-django
👍2
CORS explained using Django and Flask
Cross Origin Resource Sharing (CORS)
This is a browser mechanism that allows a website on one URL to request data from a different URL.
Certain "cross-domain" requests, notably Ajax requests, are forbidden by default by the same-origin security pol...
Read: https://rohansblog.hashnode.dev/cors-explained-using-django-and-flask
Cross Origin Resource Sharing (CORS)
This is a browser mechanism that allows a website on one URL to request data from a different URL.
Certain "cross-domain" requests, notably Ajax requests, are forbidden by default by the same-origin security pol...
Read: https://rohansblog.hashnode.dev/cors-explained-using-django-and-flask
How to Build, Test and Deploy a URL Shortener with Django
Django is a popular high-level Python Web Framework used for creating fast and efficient web applications. With Django, you can focus on building your project without reinventing the wheel. It was initially released in 2005 and has now become one of ...
Read: https://delighto.hashnode.dev/build-test-deploy-url-shortener-app-with-django
Django is a popular high-level Python Web Framework used for creating fast and efficient web applications. With Django, you can focus on building your project without reinventing the wheel. It was initially released in 2005 and has now become one of ...
Read: https://delighto.hashnode.dev/build-test-deploy-url-shortener-app-with-django
Материалы по каким темам вам интереснее всего?
Anonymous Poll
2%
Ещё только начинаю, не выбрал конкретное направление
8%
ИИ, нейронные сети, машинное обучение
0%
Управление командами / проектами
4%
Фронтенд
57%
Бэкенд
27%
Фуллстак
2%
Другое / не IT (пожалуйста, напишите в комментариях ваш вариант)
DRF Serializer: Handling OrderedDict and Converting It to a Dictionary or JSON
In Django Rest Framework (DRF) tests, when you access
Understanding the Problem
The use of an
Read: https://djangocentral.com/drf-serializer-handling-ordereddict-and-converting-it-to-a-dictionary-or-json/
In Django Rest Framework (DRF) tests, when you access
serializer.data
, you might encounter an OrderedDict
instead of a regular dictionary. This behavior is intentional and reflects the design of DRF's serialization process.Understanding the Problem
The use of an
OrderedDict
ensures that the order of fields in the serialized representation matches the order of fields defined in the serializer …Read: https://djangocentral.com/drf-serializer-handling-ordereddict-and-converting-it-to-a-dictionary-or-json/
Djangocentral
DRF Serializer: Handling OrderedDict and Converting It to a Dictionary or JSON
In Django Rest Framework (DRF) tests, when you access serializer.data, you might encounter an OrderedDict instead of a regular dict
N+1 Query Problem
Introduction
Django, a high-level Python web framework, has gained widespread popularity for its robustness, flexibility, and ease of use. One of its key components is the Model Serializer, which plays a critical role in serializing and deserializing...
Read: https://rathnaviraj.hashnode.dev/n1-query-problem
Introduction
Django, a high-level Python web framework, has gained widespread popularity for its robustness, flexibility, and ease of use. One of its key components is the Model Serializer, which plays a critical role in serializing and deserializing...
Read: https://rathnaviraj.hashnode.dev/n1-query-problem
Django: What, Why, and How?
Unveiling Django: What, Why, and How?
Greetings, fellas! 🌟 If you've stumbled upon this blog, you might be wondering about the magic behind web development, and let me tell you, we're about to unveil a tool that's like a magician's hat in the world ...
Read: https://imsrakesh.hashnode.dev/introduction-to-django
Unveiling Django: What, Why, and How?
Greetings, fellas! 🌟 If you've stumbled upon this blog, you might be wondering about the magic behind web development, and let me tell you, we're about to unveil a tool that's like a magician's hat in the world ...
Read: https://imsrakesh.hashnode.dev/introduction-to-django
Django Rest Framework CheetSheet: Mastering API Development
Django Rest Framework (DRF) is a powerful toolkit that makes building robust and scalable web APIs with Django a breeze. Whether you're a seasoned Django developer or a newcomer, having a comprehensive cheat sheet at your disposal can be a game-changer. In this article, we'll delve into the most comprehensive Django Rest Framework cheat sheet, covering essential concepts, serializers, …
Read: https://djangocentral.com/django-rest-framework-cheat-sheet/
Django Rest Framework (DRF) is a powerful toolkit that makes building robust and scalable web APIs with Django a breeze. Whether you're a seasoned Django developer or a newcomer, having a comprehensive cheat sheet at your disposal can be a game-changer. In this article, we'll delve into the most comprehensive Django Rest Framework cheat sheet, covering essential concepts, serializers, …
Read: https://djangocentral.com/django-rest-framework-cheat-sheet/
Djangocentral
The Ultimate Django Rest Framework Cheat Sheet: A Comprehensive GuideDjango Rest Framework CheetSheet: Mastering API Development
Django Rest Framework (DRF) is a powerful toolkit that makes building robust and scalable web APIs with Django a breeze. Wheth
From Idea to Reality: How I’m building an online marketplace using python
I decided to start writing a series on how I use technology to approach and solve various problems. To be more precise, I will start releasing open-minded series about how I am utilizing Python and Django to create an online marketplace. I have been ...
Read: https://savviesammie.hashnode.dev/from-idea-to-reality-how-im-building-an-online-marketplace-using-python
I decided to start writing a series on how I use technology to approach and solve various problems. To be more precise, I will start releasing open-minded series about how I am utilizing Python and Django to create an online marketplace. I have been ...
Read: https://savviesammie.hashnode.dev/from-idea-to-reality-how-im-building-an-online-marketplace-using-python
Navigating the Database Evolution: A Beginner's Guide to Migrations in Django
Welcome to the world of Django – where your web application's journey often involves a dance with the database. In this guide, we're unraveling the mystery behind Django's migrations and uncovering why they're your best friends when it comes to manag...
Read: https://jairajremote.hashnode.dev/navigating-the-database-evolution-a-beginners-guide-to-migrations-in-django
Welcome to the world of Django – where your web application's journey often involves a dance with the database. In this guide, we're unraveling the mystery behind Django's migrations and uncovering why they're your best friends when it comes to manag...
Read: https://jairajremote.hashnode.dev/navigating-the-database-evolution-a-beginners-guide-to-migrations-in-django
Django's transactions: A high-level overview
Atomicity
Atomicity ensures that for a database (DB) operation with a set of queries, any evaluated query (a query that leads to the database being "touched") that raises a DatabaseError (or any of its subclasses like django.db.utils.IntegrityError) ...
Read: https://izu.hashnode.dev/djangos-transactions-a-high-level-overview
Atomicity
Atomicity ensures that for a database (DB) operation with a set of queries, any evaluated query (a query that leads to the database being "touched") that raises a DatabaseError (or any of its subclasses like django.db.utils.IntegrityError) ...
Read: https://izu.hashnode.dev/djangos-transactions-a-high-level-overview
How to Use Subquery() in Django With Practical Examples
In the realm of web development, Django stands as a powerful and versatile framework for building robust applications. One of the key aspects of developing efficient and optimized web applications is handling database queries effectively. In this article, we will delve into the world of subqueries in Django, exploring their significance, practical examples of their usage, and a comparison between …
Read: https://djangocentral.com/how-to-use-subquery-in-django/
In the realm of web development, Django stands as a powerful and versatile framework for building robust applications. One of the key aspects of developing efficient and optimized web applications is handling database queries effectively. In this article, we will delve into the world of subqueries in Django, exploring their significance, practical examples of their usage, and a comparison between …
Read: https://djangocentral.com/how-to-use-subquery-in-django/
Djangocentral
How to Use Subquery() in Django With Practical Examples
In the realm of web development, Django stands as a powerful and versatile framework for building robust applications. One of the key aspects of developing e
Getting Started with PostgreSQL: Essential psql Command Line Skills for Beginners
Last month I upgraded to Ubuntu 22.04 LTS. After upgrading, I faced some issues with pgadmin 4 interacting with Postgresql. For this reason, I have to do all the tasks using psql interactive shell. Here I will list out some basic PSQL commands that I...
Read: https://backendbyte.com/getting-started-with-postgresql-essential-psql-command-line-skills-for-beginners
Last month I upgraded to Ubuntu 22.04 LTS. After upgrading, I faced some issues with pgadmin 4 interacting with Postgresql. For this reason, I have to do all the tasks using psql interactive shell. Here I will list out some basic PSQL commands that I...
Read: https://backendbyte.com/getting-started-with-postgresql-essential-psql-command-line-skills-for-beginners
Seamless Deployment of Django: Unlocking Efficiency with Gunicorn, Nginx, PostgreSQL, and Ubuntu - Part 1
Recently, I deployed a full-stack Django application on a Ubuntu server.
During the deployment process, I faced some issues in configuring everything on a production-ready server, mostly in configuring NGINX. I encountered the common error ‘502 Bad G...
Read: https://backendbyte.com/seamless-deployment-of-django-unlocking-efficiency-with-gunicorn-nginx-postgresql-and-ubuntu-part-1
Recently, I deployed a full-stack Django application on a Ubuntu server.
During the deployment process, I faced some issues in configuring everything on a production-ready server, mostly in configuring NGINX. I encountered the common error ‘502 Bad G...
Read: https://backendbyte.com/seamless-deployment-of-django-unlocking-efficiency-with-gunicorn-nginx-postgresql-and-ubuntu-part-1
Enhancing Web Applications with Efficient File Handling and Secure Uploads in Django
As technology continues to shape our online experiences, web applications have become integral tools for businesses and individuals alike. From social media to e-commerce platforms, these applications handle a vast array of data, including text, imag...
Read: https://davidsedoc.hashnode.dev/enhancing-web-applications-with-efficient-file-handling-and-secure-uploads-in-django
As technology continues to shape our online experiences, web applications have become integral tools for businesses and individuals alike. From social media to e-commerce platforms, these applications handle a vast array of data, including text, imag...
Read: https://davidsedoc.hashnode.dev/enhancing-web-applications-with-efficient-file-handling-and-secure-uploads-in-django
👍1👎1
How to Create User Sign up Form and Send Email Verification in Django
Sending emails to users is an important feature that should be implemented in Django your application, especially an application that involves users signing up with their email address. Sending emails can be useful in a Django application for various...
Read: https://delighto.hashnode.dev/send-email-verification-custom-user-model-django
Sending emails to users is an important feature that should be implemented in Django your application, especially an application that involves users signing up with their email address. Sending emails can be useful in a Django application for various...
Read: https://delighto.hashnode.dev/send-email-verification-custom-user-model-django
How to Send Email with Verification Link in Django
Sending emails to users is an important feature that should be implemented in Django your application, especially an application that involves users signing up with their email address. Sending emails can be useful in a Django application for various...
Read: https://delighto.hashnode.dev/send-verification-email-django
Sending emails to users is an important feature that should be implemented in Django your application, especially an application that involves users signing up with their email address. Sending emails can be useful in a Django application for various...
Read: https://delighto.hashnode.dev/send-verification-email-django
How to Build an API using Django REST Framework with Ease #1
This article is part of a series tha is focused on helping beginners master the Django Rest framework and become efficient at writing REST APIs.
Introduction
An application programming interface (API) is a set of requirements, protocols, and resourc...
Read: https://titobzzz.hashnode.dev/how-to-build-an-api-using-django-rest-framework-with-ease-1
This article is part of a series tha is focused on helping beginners master the Django Rest framework and become efficient at writing REST APIs.
Introduction
An application programming interface (API) is a set of requirements, protocols, and resourc...
Read: https://titobzzz.hashnode.dev/how-to-build-an-api-using-django-rest-framework-with-ease-1
👍2
How to Create Python Virtual Environments on Ubuntu or any Linux distribution
What is a virtual environment in Python?
A virtual environment in Python is an isolated workspace specifically for the language. Packages installed within this environment do not interfere with globally installed Python packages, ensuring a clean sep...
Read: https://faizanalam.hashnode.dev/how-to-create-python-virtual-environments-on-ubuntu-or-any-linux-distribution
What is a virtual environment in Python?
A virtual environment in Python is an isolated workspace specifically for the language. Packages installed within this environment do not interfere with globally installed Python packages, ensuring a clean sep...
Read: https://faizanalam.hashnode.dev/how-to-create-python-virtual-environments-on-ubuntu-or-any-linux-distribution
👍1