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
Outreachy Blog #3: Think About Your Audience
Every now and then, I am asked what I do at Outreachy, and my response is usually that I work at Wikipedia because only a few know that the Wikimedia Foundation is the parent body housing Wikipedia and other projects. In this article, I will talk abo...
Read: https://oyinolatunji.hashnode.dev/think-about-your-audience
Every now and then, I am asked what I do at Outreachy, and my response is usually that I work at Wikipedia because only a few know that the Wikimedia Foundation is the parent body housing Wikipedia and other projects. In this article, I will talk abo...
Read: https://oyinolatunji.hashnode.dev/think-about-your-audience
Securing Your Django Admin: A Comprehensive Guide to Creating a 2FA Security System for the Django Admin Panel
There was an era where atomic and nuclear weapons were considered the most destructive paraphernalia and no doubt they are, but the era has changed and so has the definition of the most destructive weapons. Now, the clock of destruction ticks one and...
Read: https://musaaib.hashnode.dev/securing-your-django-admin-a-comprehensive-guide-to-creating-a-2fa-security-system-for-the-django-admin-panel
There was an era where atomic and nuclear weapons were considered the most destructive paraphernalia and no doubt they are, but the era has changed and so has the definition of the most destructive weapons. Now, the clock of destruction ticks one and...
Read: https://musaaib.hashnode.dev/securing-your-django-admin-a-comprehensive-guide-to-creating-a-2fa-security-system-for-the-django-admin-panel
Best Platforms to Host Python Apps
Introduction
Hello, Web Enthusiasts!
Welcome to Irfan Blogs, your go-to destination for all things web development!
Today, we embark on an exciting journey into the realm of hosting Python web apps on servers.
Python has emerged as one of the most po...
Read: https://irfanblogs.hashnode.dev/best-platforms-to-host-python-apps
Introduction
Hello, Web Enthusiasts!
Welcome to Irfan Blogs, your go-to destination for all things web development!
Today, we embark on an exciting journey into the realm of hosting Python web apps on servers.
Python has emerged as one of the most po...
Read: https://irfanblogs.hashnode.dev/best-platforms-to-host-python-apps
Django Signals - A Complete Handbook
Photo by Mounish Raja on Unsplash
Introduction To Django Signals
The official Django documentation defines signals as…
Django includes a “signal dispatcher” which helps decoupled applications get notified when actions occur elsewhere in the framewor...
Read: https://mahboobalam.hashnode.dev/django-signals-a-complete-handbook
Photo by Mounish Raja on Unsplash
Introduction To Django Signals
The official Django documentation defines signals as…
Django includes a “signal dispatcher” which helps decoupled applications get notified when actions occur elsewhere in the framewor...
Read: https://mahboobalam.hashnode.dev/django-signals-a-complete-handbook
👍2
Simple Django Tip #7
Introduction
Sending emails is one of the most common task in any web application. Be it while signing up, password reset, notifications, payment related, and much more - sending email has become a mandatory aspect. In the past in my Django applicati...
Read: https://hellosambhavi.com/simple-django-tip-7
Introduction
Sending emails is one of the most common task in any web application. Be it while signing up, password reset, notifications, payment related, and much more - sending email has become a mandatory aspect. In the past in my Django applicati...
Read: https://hellosambhavi.com/simple-django-tip-7
Deploy your Django Web App with a MySQL Database to cPanel
Introduction
With many businesses going online, there is an increasing demand for web hosting services. Hosting services provide a platform where web developers can store web application files in a production environment.
Several hosting services exi...
Read: https://nickoch.hashnode.dev/deploy-your-django-web-app-with-a-mysql-database-to-cpanel
Introduction
With many businesses going online, there is an increasing demand for web hosting services. Hosting services provide a platform where web developers can store web application files in a production environment.
Several hosting services exi...
Read: https://nickoch.hashnode.dev/deploy-your-django-web-app-with-a-mysql-database-to-cpanel
👍1
Django ORM - Optimization Techniques
Optimizing Django's ORM (Object-Relational Mapping) is essential for building efficient, scalable web applications. The ORM is a powerful tool for abstracting database operations, but it can lead to performance issues if not used carefully. In this c...
Read: https://pythonislove.com/django-orm-optimization-techniques
Optimizing Django's ORM (Object-Relational Mapping) is essential for building efficient, scalable web applications. The ORM is a powerful tool for abstracting database operations, but it can lead to performance issues if not used carefully. In this c...
Read: https://pythonislove.com/django-orm-optimization-techniques
👍3❤2
Profiling and Optimizing Django Applications
In the world of web development, performance is key. A lagging or slow website can significantly impact user experience, leading to dissatisfaction and loss of traffic. In Django applications, performance issues often arise from inefficient code or u...
Read: https://pythonislove.com/profiling-and-optimizing-django-applications
In the world of web development, performance is key. A lagging or slow website can significantly impact user experience, leading to dissatisfaction and loss of traffic. In Django applications, performance issues often arise from inefficient code or u...
Read: https://pythonislove.com/profiling-and-optimizing-django-applications
Custom middlewares in Django
Creating detailed code for each custom middleware, along with its pros and cons and particular use cases, would be quite extensive. However, I can provide a high-level overview of a few examples, covering the basic implementation, pros and cons, and ...
Read: https://pythonislove.com/custom-middlewares-in-django
Creating detailed code for each custom middleware, along with its pros and cons and particular use cases, would be quite extensive. However, I can provide a high-level overview of a few examples, covering the basic implementation, pros and cons, and ...
Read: https://pythonislove.com/custom-middlewares-in-django
Middlewares in Django
Middleware in Django refers to a framework of hooks into Django’s request/response processing. It's a light, low-level “plugin” system for globally altering Django’s input or output. Each middleware component is responsible for performing some specif...
Read: https://pythonislove.com/middlewares-in-django
Middleware in Django refers to a framework of hooks into Django’s request/response processing. It's a light, low-level “plugin” system for globally altering Django’s input or output. Each middleware component is responsible for performing some specif...
Read: https://pythonislove.com/middlewares-in-django
❤2