How to deploy Django app on Fly.io
Deploy Django + PostgreSQL on Fly.io
In this guide we will develop a Django Todo application locally and then deploy it on Fly.io with a Postgres production database. There are a number of steps needed to convert a local Django project to be producti...
Read: https://daichi.hashnode.dev/how-to-deploy-django-app-on-flyio
Deploy Django + PostgreSQL on Fly.io
In this guide we will develop a Django Todo application locally and then deploy it on Fly.io with a Postgres production database. There are a number of steps needed to convert a local Django project to be producti...
Read: https://daichi.hashnode.dev/how-to-deploy-django-app-on-flyio
Unlock Early Savings: Early Bird Tickets for DjangoCon Europe 2024 Now Available!
You can take advantage of our Early Bird ticket sale for DjangoCon Europe 2024. By purchasing your tickets early, you not only guarantee your attendance at one of the most exciting Django events but also enjoy significant savings.
Buy tickets on the conference website
Why Go Early?
You can secure your tickets at a special Early Bird rate, providing exceptional value for your conference experience.
Also, your early commitment goes a long way in supporting the success of DjangoCon Europe 2024. It helps us plan better and ensure a seamless event.
Act now and secure your Early Bird tickets before the sale closes on April 31st. Don't miss out on the chance to save and be a part of this exciting event.
We can't wait to welcome you to DjangoCon Europe 2024!
Read: https://www.djangoproject.com/weblog/2024/jan/04/early-bird-tickets-for-djangocon-europe-2024/
You can take advantage of our Early Bird ticket sale for DjangoCon Europe 2024. By purchasing your tickets early, you not only guarantee your attendance at one of the most exciting Django events but also enjoy significant savings.
Buy tickets on the conference website
Why Go Early?
You can secure your tickets at a special Early Bird rate, providing exceptional value for your conference experience.
Also, your early commitment goes a long way in supporting the success of DjangoCon Europe 2024. It helps us plan better and ensure a seamless event.
Act now and secure your Early Bird tickets before the sale closes on April 31st. Don't miss out on the chance to save and be a part of this exciting event.
We can't wait to welcome you to DjangoCon Europe 2024!
Read: https://www.djangoproject.com/weblog/2024/jan/04/early-bird-tickets-for-djangocon-europe-2024/
Django cache for APIs with invalidation
APIs especially for dashboards are predominantly read-heavy. To make for a user friendly experience, we should reduce response times of the APIs.
The tried and trusted way uses a distributed cache-aside strategy or something more exotic. The expensiv...
Read: https://blog.danwald.me/django-cache-for-apis-with-invalidation
APIs especially for dashboards are predominantly read-heavy. To make for a user friendly experience, we should reduce response times of the APIs.
The tried and trusted way uses a distributed cache-aside strategy or something more exotic. The expensiv...
Read: https://blog.danwald.me/django-cache-for-apis-with-invalidation
Deploy a Django app to PythonAnywhere for free.
Introduction
Now that we have completed the development of our website, it’s time for the exciting part—deploying the code to a web server. Deploying a website can often be a complex and frustrating process, however, this is another area where Django...
Read: https://irfanblogs.hashnode.dev/deploy-a-django-app-to-pythonanywhere-for-free
Introduction
Now that we have completed the development of our website, it’s time for the exciting part—deploying the code to a web server. Deploying a website can often be a complex and frustrating process, however, this is another area where Django...
Read: https://irfanblogs.hashnode.dev/deploy-a-django-app-to-pythonanywhere-for-free
👍2
Flask vs Django: Comprehensive Guide and Which to Choose
In the dynamic landscape of web development, choosing the right framework for a project can be pivotal. Python, known for its simplicity and readability, offers two popular frameworks: Flask and Django. These frameworks, while both built on Python, c...
Read: https://dmuvaa.hashnode.dev/flask-vs-django
In the dynamic landscape of web development, choosing the right framework for a project can be pivotal. Python, known for its simplicity and readability, offers two popular frameworks: Flask and Django. These frameworks, while both built on Python, c...
Read: https://dmuvaa.hashnode.dev/flask-vs-django
How to integrate Tailwind CSS into your Django Project
In today’s world of web development, where speed while maintaining code quality has been a constant challenge, the use of modern tools like Tailwind CSS that help to bridge this gap has been on a constant rise.
Tailwind CSS is a utility-first CSS fra...
Read: https://judeolowo.hashnode.dev/how-to-integrate-tailwind-css-into-your-django-project
In today’s world of web development, where speed while maintaining code quality has been a constant challenge, the use of modern tools like Tailwind CSS that help to bridge this gap has been on a constant rise.
Tailwind CSS is a utility-first CSS fra...
Read: https://judeolowo.hashnode.dev/how-to-integrate-tailwind-css-into-your-django-project
👍2
Choosing Your Path: AbstractUser vs. AbstractBaseUser
Introduction
It is important to understand the difference between AbstractUser and AbstractBaseUser when you are a Django developer. I am hoping that this article will help you answer the confusion the two come with.
First, we explain…
AbstractUser
A...
Read: https://weshy.hashnode.dev/choosing-your-path-abstractuser-vs-abstractbaseuser
Introduction
It is important to understand the difference between AbstractUser and AbstractBaseUser when you are a Django developer. I am hoping that this article will help you answer the confusion the two come with.
First, we explain…
AbstractUser
A...
Read: https://weshy.hashnode.dev/choosing-your-path-abstractuser-vs-abstractbaseuser
KafkaProducer connection pool in Python: Part 1
Introduction
Note: Part 2 of this series is available here
Note: The complete implementation is in my kafka-python-producer-pool repository.
Kafka is an event-streaming platform used for building event-driven systems. Kafka hinges on three things: To...
Read: https://lordsarcastic.hashnode.dev/kafkaproducer-connection-pool-in-python-part-1
Introduction
Note: Part 2 of this series is available here
Note: The complete implementation is in my kafka-python-producer-pool repository.
Kafka is an event-streaming platform used for building event-driven systems. Kafka hinges on three things: To...
Read: https://lordsarcastic.hashnode.dev/kafkaproducer-connection-pool-in-python-part-1
KafkaProducer connection pool in Python: Part 2
Introduction
Note: Part 1 of this series is available here
Note: The complete implementation is in my kafka-python-producer-pool repository.
In part 1 of this series, we addressed the concept of a Kafka producer pool to provide safe, multi-threaded c...
Read: https://lordsarcastic.hashnode.dev/kafkaproducer-connection-pool-in-python-part-2
Introduction
Note: Part 1 of this series is available here
Note: The complete implementation is in my kafka-python-producer-pool repository.
In part 1 of this series, we addressed the concept of a Kafka producer pool to provide safe, multi-threaded c...
Read: https://lordsarcastic.hashnode.dev/kafkaproducer-connection-pool-in-python-part-2
Mastering Decoupled Communication: A Comprehensive Guide to Custom Signals in Django
As discussed in the previous article, Signals are a way for different parts of our application to communicate with each other based on any events or triggers. They allow decoupled communication between different components, promoting modularity and f...
Read: https://musaaib.hashnode.dev/mastering-decoupled-communication-a-comprehensive-guide-to-custom-signals-in-django
As discussed in the previous article, Signals are a way for different parts of our application to communicate with each other based on any events or triggers. They allow decoupled communication between different components, promoting modularity and f...
Read: https://musaaib.hashnode.dev/mastering-decoupled-communication-a-comprehensive-guide-to-custom-signals-in-django
Understand the MVT Framework in Django and how it differs from MVC in backend development
When it comes to web development frameworks, the Model-View-Controller (MVC) architecture is very crucial for organizing code and maintaining separation. However, Django, a popular web framework for Python, introduces a slight twist with its Model-Vi...
Read: https://rhythmblogs.hashnode.dev/understand-the-mvt-framework-in-django-and-how-it-differs-from-mvc-in-backend-development
When it comes to web development frameworks, the Model-View-Controller (MVC) architecture is very crucial for organizing code and maintaining separation. However, Django, a popular web framework for Python, introduces a slight twist with its Model-Vi...
Read: https://rhythmblogs.hashnode.dev/understand-the-mvt-framework-in-django-and-how-it-differs-from-mvc-in-backend-development
How do I convert a Django QuerySet into a Polars Dataframe?
The Problem:
In my software engineering journey, I faced a problem while working on a Django project when I had to grab a bunch of data from a PostgreSQL server and mess around with it to do some data analysis. The usual way to do this is by running ...
Read: https://ayoubar.hashnode.dev/how-do-i-convert-a-django-queryset-into-a-polars-dataframe
The Problem:
In my software engineering journey, I faced a problem while working on a Django project when I had to grab a bunch of data from a PostgreSQL server and mess around with it to do some data analysis. The usual way to do this is by running ...
Read: https://ayoubar.hashnode.dev/how-do-i-convert-a-django-queryset-into-a-polars-dataframe
Task Management System using Django
Django is a very robust full-stack web framework. It uses Python on the server side and provides API to integrate with almost any front-end web frameworks like React, Next, Vue, and Angular. In Django developers use MVT(Model View Template) architect...
Read: https://rajarshisamaddar.com/task-management-system-using-django
Django is a very robust full-stack web framework. It uses Python on the server side and provides API to integrate with almost any front-end web frameworks like React, Next, Vue, and Angular. In Django developers use MVT(Model View Template) architect...
Read: https://rajarshisamaddar.com/task-management-system-using-django
Integrate React with Django [NO API]
Introduction: As a Django enthusiast venturing into the world of frontend development, integrating React.js with Django can open up exciting possibilities for building dynamic and interactive web applications. In this article, we will explore how to ...
Read: https://blog.nischallamichhane.com.np/integrate-react-with-django-no-api
Introduction: As a Django enthusiast venturing into the world of frontend development, integrating React.js with Django can open up exciting possibilities for building dynamic and interactive web applications. In this article, we will explore how to ...
Read: https://blog.nischallamichhane.com.np/integrate-react-with-django-no-api
Securing yourself: A Master's Guide to Fortification
Intro: As a seasoned Django Master and a discerning GitHub Appraiser, my journey involves not only crafting sophisticated Django packages but also delving into the GitHub project repositories of my disciples. In this quest, I often come across projec...
Read: https://blog.nischallamichhane.com.np/securing-yourself-a-masters-guide-to-fortification
Intro: As a seasoned Django Master and a discerning GitHub Appraiser, my journey involves not only crafting sophisticated Django packages but also delving into the GitHub project repositories of my disciples. In this quest, I often come across projec...
Read: https://blog.nischallamichhane.com.np/securing-yourself-a-masters-guide-to-fortification
👍1
The Beginning Steps: Preparing Your Django Blog's Work Atmosphere
First, Let's talk a little bit about Django
Django, a powerful Python web framework, excels in rapid development, security, and scalability. It boasts a 'batteries-included' approach, offering built-in features like an ORM, secure authentication, and...
Read: https://marawan.hashnode.dev/the-beginning-steps-preparing-your-django-blogs-work-atmosphere
First, Let's talk a little bit about Django
Django, a powerful Python web framework, excels in rapid development, security, and scalability. It boasts a 'batteries-included' approach, offering built-in features like an ORM, secure authentication, and...
Read: https://marawan.hashnode.dev/the-beginning-steps-preparing-your-django-blogs-work-atmosphere
👍2
How to build your own SaaS business
I know from personal experience how difficult it is to start a SaaS (Software as a service) business, especially if you are a solo founder who is self-funded.
In this article, I am going to go through some of my learnings on how to build a SaaS busin...
Read: https://kevincoder.co.za/how-to-build-your-own-saas-business
I know from personal experience how difficult it is to start a SaaS (Software as a service) business, especially if you are a solo founder who is self-funded.
In this article, I am going to go through some of my learnings on how to build a SaaS busin...
Read: https://kevincoder.co.za/how-to-build-your-own-saas-business
👍1
Authenticating User while testing websocket using Django Channels
Authenticating users while testing socket connections using Django Channels involves a few steps. Here's a general guide on how to achieve this:
1. Set Up Django Channels
Firstly, ensure that Django Channels is properly installed and configured in yo...
Read: https://pythonislove.com/authenticating-user-while-testing-websocket-using-django-channels
Authenticating users while testing socket connections using Django Channels involves a few steps. Here's a general guide on how to achieve this:
1. Set Up Django Channels
Firstly, ensure that Django Channels is properly installed and configured in yo...
Read: https://pythonislove.com/authenticating-user-while-testing-websocket-using-django-channels
My First DjangoCon US Experience
Last year in October, I attended DjangoCon US for the first time and it was a great experience. From the pre-event Django Social to the keynotes, lightning talks and interaction at the booths, I learned a lot and met awesome people.
Prep / Before the...
Read: https://afimaamedufie.hashnode.dev/my-first-djangocon-us-experience
Last year in October, I attended DjangoCon US for the first time and it was a great experience. From the pre-event Django Social to the keynotes, lightning talks and interaction at the booths, I learned a lot and met awesome people.
Prep / Before the...
Read: https://afimaamedufie.hashnode.dev/my-first-djangocon-us-experience
DSF membership now recognizes a much broader range of contributions to Django
Recently, the DSF made some changes to our bylaws to change the definition of DSF Membership. You can read the legalese of the new language in the meeting minutes for the October 12 board meeting, but here’s the short version: previously, individual membership required contribution of intellectual property (e.g. code or documentation) we’ve changed it so that individual membership now recognizes broader contributions to the DSF’s mission. That still includes code and docs, but now also includes many more activities: organizing a Django event, serving on a Working Group, maintaining a third-party app, moderating Django community spaces, and much more. (Corporate membership hasn’t changed; this just applies to individual membership.)
The DSF’s mission, as described in our bylaws, is:
The Foundation's purposes shall include, but not be limited to, developing and promoting the Djagno framework for free and open public use among the worldwide web development community, protecting the framework's long-term viability, and advancing the state of the art in web development.
Membership, then, recognizes material contributions to that mission. This is deliberately broad and inclusive: we want to allow as broad a definition of “contribution” as possible – including, critically, contributions to the community as well as code contributions. But we do want those contributions to be “material”: we want to recognize substantial or sustained contributions, not one-offs or “drive-by” contributions.
Because this definition of “material” is somewhat deliberately vague, we’ve prepared an FAQ that outlines several examples of things we believe do and do not qualify someone for membership. Ultimately, though, if you’re not sure: please apply anyway! We generally try to err on the side of saying “yes”.
To join the DSF under these new, more inclusive rules, fill out the application form here. The Board approves new members at its monthly meeting, so you can expect to hear back within about a month.
Read: https://www.djangoproject.com/weblog/2024/jan/10/dsf-membership/
Recently, the DSF made some changes to our bylaws to change the definition of DSF Membership. You can read the legalese of the new language in the meeting minutes for the October 12 board meeting, but here’s the short version: previously, individual membership required contribution of intellectual property (e.g. code or documentation) we’ve changed it so that individual membership now recognizes broader contributions to the DSF’s mission. That still includes code and docs, but now also includes many more activities: organizing a Django event, serving on a Working Group, maintaining a third-party app, moderating Django community spaces, and much more. (Corporate membership hasn’t changed; this just applies to individual membership.)
The DSF’s mission, as described in our bylaws, is:
The Foundation's purposes shall include, but not be limited to, developing and promoting the Djagno framework for free and open public use among the worldwide web development community, protecting the framework's long-term viability, and advancing the state of the art in web development.
Membership, then, recognizes material contributions to that mission. This is deliberately broad and inclusive: we want to allow as broad a definition of “contribution” as possible – including, critically, contributions to the community as well as code contributions. But we do want those contributions to be “material”: we want to recognize substantial or sustained contributions, not one-offs or “drive-by” contributions.
Because this definition of “material” is somewhat deliberately vague, we’ve prepared an FAQ that outlines several examples of things we believe do and do not qualify someone for membership. Ultimately, though, if you’re not sure: please apply anyway! We generally try to err on the side of saying “yes”.
To join the DSF under these new, more inclusive rules, fill out the application form here. The Board approves new members at its monthly meeting, so you can expect to hear back within about a month.
Read: https://www.djangoproject.com/weblog/2024/jan/10/dsf-membership/
Django INSTALLED_APPS
INSTALLED_APPS
INSTALLED_APP is a list of strings that appoint/choose all the applications enabled in Django installation used to configure applications.
When we create an application using the command line
$ django-admin startapp nameofapp
Then th...
Read: https://amritgiri.hashnode.dev/django-installedapps
INSTALLED_APPS
INSTALLED_APP is a list of strings that appoint/choose all the applications enabled in Django installation used to configure applications.
When we create an application using the command line
$ django-admin startapp nameofapp
Then th...
Read: https://amritgiri.hashnode.dev/django-installedapps
🌚1