Starting A Django Project
To start a Django project, you will need to have Python and Django installed on your system. If you don't have them installed, you can install them using the following steps:
Install Python by downloading the latest stable release from the official w...
Read: https://favourtech.hashnode.dev/starting-a-django-project
To start a Django project, you will need to have Python and Django installed on your system. If you don't have them installed, you can install them using the following steps:
Install Python by downloading the latest stable release from the official w...
Read: https://favourtech.hashnode.dev/starting-a-django-project
🤯3
Why Virtualenv is Important for Django Development?
# Why Virtualenv is Important for Django Development
## Create a separate virtual environment for each project:
`Virtualenv` is a tool that allows you to create a separate Python environment for each `Django` project you work on. This can be particu...
Read: https://sarahthedeveloper.hashnode.dev/why-virtualenv-is-important
# Why Virtualenv is Important for Django Development
## Create a separate virtual environment for each project:
`Virtualenv` is a tool that allows you to create a separate Python environment for each `Django` project you work on. This can be particu...
Read: https://sarahthedeveloper.hashnode.dev/why-virtualenv-is-important
I had to integrate few React components in a Django View using jQuery: A Journey
A small journey into my Tech World filled with bizarre experiences. One such instance that comes to mind is when I had to make some enhancements to an existing UI that was written earlier. The older Tech Stack was Django-based SSR (using View Templat...
Read: https://theprodev.hashnode.dev/rendering-react-component-in-django-jquery-ui
A small journey into my Tech World filled with bizarre experiences. One such instance that comes to mind is when I had to make some enhancements to an existing UI that was written earlier. The older Tech Stack was Django-based SSR (using View Templat...
Read: https://theprodev.hashnode.dev/rendering-react-component-in-django-jquery-ui
Deploy Django App with AWS Elastic Beanstalk and AWS RDS Database
This blog post outlines the process for deploying a Django web app to the cloud using AWS Elastic Beanstalk. The application data is stored in a database that is also cloud-hosted using an AWS Relational Database Service (RDS) DB instance.
Objectives...
Read: https://fafacodes.hashnode.dev/deploy-django-app-with-aws-elastic-beanstalk-and-aws-rds-database
This blog post outlines the process for deploying a Django web app to the cloud using AWS Elastic Beanstalk. The application data is stored in a database that is also cloud-hosted using an AWS Relational Database Service (RDS) DB instance.
Objectives...
Read: https://fafacodes.hashnode.dev/deploy-django-app-with-aws-elastic-beanstalk-and-aws-rds-database
Deploy Django App with AWS Elastic Beanstalk and AWS RDS
This blog post outlines the process for deploying a Django web app to the cloud using AWS Elastic Beanstalk. The application data is stored in a database that is also cloud-hosted using an AWS Relational Database Service (RDS) DB instance.
Objectives...
Read: https://fafacodes.hashnode.dev/deploy-django-app-with-aws-elastic-beanstalk-and-aws-rds
This blog post outlines the process for deploying a Django web app to the cloud using AWS Elastic Beanstalk. The application data is stored in a database that is also cloud-hosted using an AWS Relational Database Service (RDS) DB instance.
Objectives...
Read: https://fafacodes.hashnode.dev/deploy-django-app-with-aws-elastic-beanstalk-and-aws-rds
Django: Views and URL Mapping
When I started learning Django, it took me a while to understand the concept of views and URLs mapping especially when you learn from random dudes on YouTube. one time your web app is correctly producing views for each request and the next it's produ...
Read: https://savviesammie.hashnode.dev/django-views-and-url-mapping
When I started learning Django, it took me a while to understand the concept of views and URLs mapping especially when you learn from random dudes on YouTube. one time your web app is correctly producing views for each request and the next it's produ...
Read: https://savviesammie.hashnode.dev/django-views-and-url-mapping
10 Amazing Books for A Django Developer 📚
As a Software Developer, you should always try to know more and more.one of the ways that you can easily learn from it, it's reading books.there are a lot of valuable books to help you out in this field and they can change your level "From Zero To He...
Read: https://amirhomayoon.hashnode.dev/10-amazing-books-for-a-django-developer
As a Software Developer, you should always try to know more and more.one of the ways that you can easily learn from it, it's reading books.there are a lot of valuable books to help you out in this field and they can change your level "From Zero To He...
Read: https://amirhomayoon.hashnode.dev/10-amazing-books-for-a-django-developer
Types of Errors in Django
While working with Django, we all have faced several types of errors. Let's have a quick look at some most common types of them.
P.S. There are many more types of them and the ones covered here are just the ones that I faced working with it till now....
Read: https://swap33377.hashnode.dev/types-of-errors-in-django
While working with Django, we all have faced several types of errors. Let's have a quick look at some most common types of them.
P.S. There are many more types of them and the ones covered here are just the ones that I faced working with it till now....
Read: https://swap33377.hashnode.dev/types-of-errors-in-django
How We implemented Audit in our SaaS Django Platform
Context: what is Audit?
A while back with my team when working on a project we needed to add some audit features on the platform to be able to trace what happened in the app and show it to the end users and use it also for customer support requests, ...
Read: https://blog.adonissimo.com/how-we-implemented-audit-in-our-saas-django-platform
Context: what is Audit?
A while back with my team when working on a project we needed to add some audit features on the platform to be able to trace what happened in the app and show it to the end users and use it also for customer support requests, ...
Read: https://blog.adonissimo.com/how-we-implemented-audit-in-our-saas-django-platform
👍1
Maximizing Your Django Development: 6 Expert Tips
Django is a powerful web framework, but there are a few things you should keep in mind to make your work smoother and more effective. Here are the top tips that will make a difference in your Django project:
1. Use virtualenv
Virtualenv is a tool tha...
Read: https://sarahthedeveloper.hashnode.dev/maximizing-your-django-development-6-expert-tips
Django is a powerful web framework, but there are a few things you should keep in mind to make your work smoother and more effective. Here are the top tips that will make a difference in your Django project:
1. Use virtualenv
Virtualenv is a tool tha...
Read: https://sarahthedeveloper.hashnode.dev/maximizing-your-django-development-6-expert-tips
Using `.env` file in a Django Project
A .env file is a file that resides at the root of a Django project. It is used to store environment variables. Environment variables are stored in key-value pairs.
Sensitive information such as passwords, secret keys, client IDs, or API keys is advis...
Read: https://allthingstechie.hashnode.dev/using-env-file-in-a-django-project
A .env file is a file that resides at the root of a Django project. It is used to store environment variables. Environment variables are stored in key-value pairs.
Sensitive information such as passwords, secret keys, client IDs, or API keys is advis...
Read: https://allthingstechie.hashnode.dev/using-env-file-in-a-django-project
Context Processors in Django
Introduction:
Django is a powerful web framework that follows the principles of the Don't Repeat Yourself (DRY) philosophy. One way that Django achieves this is through the use of Context Processors. In this article, we'll take a closer look at what ...
Read: https://sarahthedeveloper.hashnode.dev/context-processors-in-django
Introduction:
Django is a powerful web framework that follows the principles of the Don't Repeat Yourself (DRY) philosophy. One way that Django achieves this is through the use of Context Processors. In this article, we'll take a closer look at what ...
Read: https://sarahthedeveloper.hashnode.dev/context-processors-in-django
Creating App in Django
First of all, You need to set up the project if you have not done yet then check this article.
After creating a project your file structure will look like the below.
myproject
__init__.py
asgi.py
settings.py
urls.py
wsgi.py
manage...
Read: https://nileshdarji.hashnode.dev/creating-app-in-django
First of all, You need to set up the project if you have not done yet then check this article.
After creating a project your file structure will look like the below.
myproject
__init__.py
asgi.py
settings.py
urls.py
wsgi.py
manage...
Read: https://nileshdarji.hashnode.dev/creating-app-in-django
Writing Views in Django
In Django, a view is a Python function that takes a web request and returns a web response. The response can be in the form of HTML, JSON, XML, Image or anything at all. Yes anything
Below is a simple view that displays a message to the user
from dja...
Read: https://akolade.hashnode.dev/writing-views-in-django
In Django, a view is a Python function that takes a web request and returns a web response. The response can be in the form of HTML, JSON, XML, Image or anything at all. Yes anything
Below is a simple view that displays a message to the user
from dja...
Read: https://akolade.hashnode.dev/writing-views-in-django
Reducing queries for ForeignKeys in Django admin inlines
Speed up with raw_id_fields
ForeignKeys in the Django admin show as a select-box () by default. This will result in a query for every item in the select, only to get the name. This is not a problem if the model you're referencing will always ...
Read: https://deepintodjango.com/reducing-queries-for-foreignkeys-in-django-admin-inlines
Speed up with raw_id_fields
ForeignKeys in the Django admin show as a select-box () by default. This will result in a query for every item in the select, only to get the name. This is not a problem if the model you're referencing will always ...
Read: https://deepintodjango.com/reducing-queries-for-foreignkeys-in-django-admin-inlines
Optimizing Database Queries in Django: A Guide to select_related and prefetch_related
In Django, select_related and prefetch_related are two functions that can be used to optimize database queries. They are particularly useful when working with foreign keys and many-to-many relationships, as they allow you to retrieve related objects ...
Read: https://blog.devjunction.in/optimizing-database-queries-in-django-a-guide-to-selectrelated-and-prefetchrelated
In Django, select_related and prefetch_related are two functions that can be used to optimize database queries. They are particularly useful when working with foreign keys and many-to-many relationships, as they allow you to retrieve related objects ...
Read: https://blog.devjunction.in/optimizing-database-queries-in-django-a-guide-to-selectrelated-and-prefetchrelated
Creating a custom choice field for enums in Django REST Framework
The problem with ChoiceField
In Django REST Framework, there is a field called ChoiceField which can be used when you have certain choices for a field in your REST API. For example, let's imagine you were creating an API to convert colors to their re...
Read: https://blog.sarmad.ai/django-rest-framework-enum-choice-field
The problem with ChoiceField
In Django REST Framework, there is a field called ChoiceField which can be used when you have certain choices for a field in your REST API. For example, let's imagine you were creating an API to convert colors to their re...
Read: https://blog.sarmad.ai/django-rest-framework-enum-choice-field
Outreachy: Week six
In case you are yet to follow my weekly publications, this article is the sixth of a series of articles detailing my Outreachy internship experience with Wagtail.
Last week, I shared with you three features I find interesting about the Wagtail Conten...
Read: https://activuscode.hashnode.dev/outreachy-week-six
In case you are yet to follow my weekly publications, this article is the sixth of a series of articles detailing my Outreachy internship experience with Wagtail.
Last week, I shared with you three features I find interesting about the Wagtail Conten...
Read: https://activuscode.hashnode.dev/outreachy-week-six
How did I learn Django during my winter vacation?
After completing the first semester of undergrad, I had one and a half months of vacation. So, I was eager to utilize my free time in a productive way. Thus, I decided to learn Django during this time. Note: I already had a good experience in React J...
Read: https://prabeshbista.hashnode.dev/how-did-i-learn-django-during-my-winter-vacation
After completing the first semester of undergrad, I had one and a half months of vacation. So, I was eager to utilize my free time in a productive way. Thus, I decided to learn Django during this time. Note: I already had a good experience in React J...
Read: https://prabeshbista.hashnode.dev/how-did-i-learn-django-during-my-winter-vacation
Why we migrated from Flask to Dango
This article is not about the differences between Django and Flask. Each one has its own advantages and disadvantages. This is the story of our migration.
We built the PoC with Flask. We were happy. Flask is an easy framework to start with. You only ...
Read: https://emremert.dev/why-we-migrated-from-flask-to-dango
This article is not about the differences between Django and Flask. Each one has its own advantages and disadvantages. This is the story of our migration.
We built the PoC with Flask. We were happy. Flask is an easy framework to start with. You only ...
Read: https://emremert.dev/why-we-migrated-from-flask-to-dango