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
Run Django 5.0 on a Chromebook
I own an HP Chromebook and use it for my private side projects. I wanted to try Django 5.0 to learn something new for a new project idea. I also do not want to rely too much on Google Firebase, which I use for a different project. Finally, I like pro...
Read: https://blog.outsidecode.com/run-django-50-on-a-chromebook
I own an HP Chromebook and use it for my private side projects. I wanted to try Django 5.0 to learn something new for a new project idea. I also do not want to rely too much on Google Firebase, which I use for a different project. Finally, I like pro...
Read: https://blog.outsidecode.com/run-django-50-on-a-chromebook
Maintenance mode in Django
To force a maintenance mode in Django, we need to redirect all traffic to a maintenance page, except for requests from specific IPs (like our own for management purposes). This can be achieved using middleware. Here's a basic approach:
Create a main...
Read: https://pythonislove.com/maintenance-mode-in-django
To force a maintenance mode in Django, we need to redirect all traffic to a maintenance page, except for requests from specific IPs (like our own for management purposes). This can be achieved using middleware. Here's a basic approach:
Create a main...
Read: https://pythonislove.com/maintenance-mode-in-django
👍1
Simplifying API Development with Viewsets and Routers in Django Rest Framework
According to William.S.Vincent the Django REST Framework has tools called viewsets and routers that help accelerate the creation of APIs. They sit above views and URLs as an extra layer of abstraction.
The main advantage is that several related views...
Read: https://prazehub.hashnode.dev/simplifying-api-development-with-viewsets-and-routers-in-django-rest-framework
According to William.S.Vincent the Django REST Framework has tools called viewsets and routers that help accelerate the creation of APIs. They sit above views and URLs as an extra layer of abstraction.
The main advantage is that several related views...
Read: https://prazehub.hashnode.dev/simplifying-api-development-with-viewsets-and-routers-in-django-rest-framework
❤1
DjangoCon Europe 2025 Call for Proposals
DjangoCon Europe 2024 will be held June 5th-9th in Vigo, Spain but we're already looking ahead to the 2025 conference. Could your town - or your football stadium, circus tent, private island or city hall - host this wonderful community event?
Hosting a DjangoCon is an ambitious undertaking. It's hard work, but each year it has been successfully run by a team of community volunteers, not all of whom have had previous experience - more important is enthusiasm, organizational skills, the ability to plan and manage budgets, time and people - and plenty of time to invest in the project.
How to apply
We've set up a working group of previous DjangoCon Europe organizers that you can reach out to with questions about organizing and running a DjangoCon Europe. [email protected]. There will also be an informational session set up towards the end of January or early February for interested organizers. Please email the working group to express interest in participating.
In order to give people the chance to go to many different conferences DjangoCon Europe should be held between January 5 and April 15 2025. Please read the licensing agreement the selected organizers will need to sign for the specific requirements around hosting a DjangoCon Europe
If you're interested, we'd love to hear from you. This year we are going to do rolling reviews of applications, in order to hopefully give more time and certainty to the selected proposal to start planning. The board will begin evaluating proposals on February 20th. The selection will be made at any time between February 20th and May 31st. The DSF Board will communicate when a selection has been made and the application process is complete. IF you are interested in organizing it is in your best interest to get a good proposal in early.
Following the established tradition, the selected hosts will be publicly announced at this year's DjangoCon Europe by the current organizers.
The more detailed and complete your proposal, the better. Things you should consider, and that we'd like to know about, are:
* dates Ideally between early January and mid April 2025
* numbers of attendees
* venue(s)
* accommodation
* transport links
* budgets and ticket prices
* committee members
We'd like to see:
* timelines
* pictures
* prices
* draft agreements with providers
* alternatives you have considered
Email you proposals to djangocon-europe-2025-proposals at djangoproject dot com. We look forward to reviewing great proposals that continue the excellence the whole community associates with DjangoCon Europe.
Read: https://www.djangoproject.com/weblog/2024/jan/15/djangocon-europe-2025-call-for-proposals/
DjangoCon Europe 2024 will be held June 5th-9th in Vigo, Spain but we're already looking ahead to the 2025 conference. Could your town - or your football stadium, circus tent, private island or city hall - host this wonderful community event?
Hosting a DjangoCon is an ambitious undertaking. It's hard work, but each year it has been successfully run by a team of community volunteers, not all of whom have had previous experience - more important is enthusiasm, organizational skills, the ability to plan and manage budgets, time and people - and plenty of time to invest in the project.
How to apply
We've set up a working group of previous DjangoCon Europe organizers that you can reach out to with questions about organizing and running a DjangoCon Europe. [email protected]. There will also be an informational session set up towards the end of January or early February for interested organizers. Please email the working group to express interest in participating.
In order to give people the chance to go to many different conferences DjangoCon Europe should be held between January 5 and April 15 2025. Please read the licensing agreement the selected organizers will need to sign for the specific requirements around hosting a DjangoCon Europe
If you're interested, we'd love to hear from you. This year we are going to do rolling reviews of applications, in order to hopefully give more time and certainty to the selected proposal to start planning. The board will begin evaluating proposals on February 20th. The selection will be made at any time between February 20th and May 31st. The DSF Board will communicate when a selection has been made and the application process is complete. IF you are interested in organizing it is in your best interest to get a good proposal in early.
Following the established tradition, the selected hosts will be publicly announced at this year's DjangoCon Europe by the current organizers.
The more detailed and complete your proposal, the better. Things you should consider, and that we'd like to know about, are:
* dates Ideally between early January and mid April 2025
* numbers of attendees
* venue(s)
* accommodation
* transport links
* budgets and ticket prices
* committee members
We'd like to see:
* timelines
* pictures
* prices
* draft agreements with providers
* alternatives you have considered
Email you proposals to djangocon-europe-2025-proposals at djangoproject dot com. We look forward to reviewing great proposals that continue the excellence the whole community associates with DjangoCon Europe.
Read: https://www.djangoproject.com/weblog/2024/jan/15/djangocon-europe-2025-call-for-proposals/
👍2
Seamless DevOps: Deploying a Django Todo App with Docker
Deploying Django Todo App on AWS EC2, Docker Setup, and Cleanup:
EC2 INSTANCE SETUP:
Create an EC2 Instance with Ubuntu and clone the GitHub repository at https://github.com/FaizanShaikh1/django-todo.git.
Update the instance with the latest depende...
Read: https://skfaizan.hashnode.dev/seamless-devops-deploying-a-django-todo-app-with-docker
Deploying Django Todo App on AWS EC2, Docker Setup, and Cleanup:
EC2 INSTANCE SETUP:
Create an EC2 Instance with Ubuntu and clone the GitHub repository at https://github.com/FaizanShaikh1/django-todo.git.
Update the instance with the latest depende...
Read: https://skfaizan.hashnode.dev/seamless-devops-deploying-a-django-todo-app-with-docker
Django-Rest-Framework: How to add a calculated field into the serializer (using SerializerMethodField)
The goal is to add an extra field into the model serializer, which is calculated based on a field of the model.
Consider the `Product` model as below.
from django.db import models
class Product(models.Model):
name = models.CharField(max_length=...
Read: https://nirmites.hashnode.dev/django-rest-framework-how-to-add-a-calculated-field-into-the-serializer-using-serializermethodfield
The goal is to add an extra field into the model serializer, which is calculated based on a field of the model.
Consider the `Product` model as below.
from django.db import models
class Product(models.Model):
name = models.CharField(max_length=...
Read: https://nirmites.hashnode.dev/django-rest-framework-how-to-add-a-calculated-field-into-the-serializer-using-serializermethodfield
👍2
Building Educational CMS API - Part 2: Perks for fast development
I started to build an API using Django and I will be documenting all the processes that I go through for myself and maybe others who are interested.
In every new article, we'll go through what I have changed in the new release and explain them as we ...
Read: https://jkhasizada.hashnode.dev/building-educational-cms-api-part-2-perks-for-fast-development
I started to build an API using Django and I will be documenting all the processes that I go through for myself and maybe others who are interested.
In every new article, we'll go through what I have changed in the new release and explain them as we ...
Read: https://jkhasizada.hashnode.dev/building-educational-cms-api-part-2-perks-for-fast-development
Django-Rest-Framework CRUD operations using Generic Views
In this article, we will briefly see how to implement CRUD operations in Django-Rest-Framework using generic class-based views.
Models
In this example, we'll be using only one model, which is very simple.
from django.db import models
class Product(...
Read: https://nirmites.hashnode.dev/django-rest-framework-crud-operations-using-generic-views
In this article, we will briefly see how to implement CRUD operations in Django-Rest-Framework using generic class-based views.
Models
In this example, we'll be using only one model, which is very simple.
from django.db import models
class Product(...
Read: https://nirmites.hashnode.dev/django-rest-framework-crud-operations-using-generic-views
👍2