Django community: Community blog posts RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
Authenticate With Djoser
REST implementation of Django authentication system. djoser library provides a set of Django Rest Framework views to handle basic actions such as registration, login, logout, password reset and account activation. It works with custom user model. Req... -
Custom User Model In Django 3
In this post, we will see how we can define our own User Model and use it. and also what are the changes we have to make while registering Custom User Model. Django Built-in User Model is Good for normal cases. but what if you want to add some extra ... -
Async in Flask 2.0
This article looks at Flask 2.0's new async functionality and how to leverage it in your Flask projects. -
A simple guide on scaling and optimizing a Django application to the moon🚀
Django makes it easier to build better Web apps more quickly and with less code. Introduction: There are no doubts that Django is a well-structured, robust, and hell lot of maintainable web framework, which lets you focus on the real development, ra... -
Elastic Search + Django
##python #elsatic-search #haystack Requirements: Django Elastic Search Install (required version 6) Drf Haystack Poetry Install or you can use pip or pipenv Project Setup: $ mkdir dj_elastic && cd dj_elastic $ python3 -m venv env $ source env/bi... -
Django Engineer Interview Script
I have worked as a Python/Django backend engineer for more than a decade. Which puts me in a “senior” role in any team I usually join. As a result, I get involved in the recruitment process. I.e. to look for someone who would then become a team mate. This post is about questions I ask a prospective Python/Django backend engineer. A prospect with 2+ years of experience doing Python/Django backend development full-time. The prospective engineer would be working in my team. With me. Not for me. So the questions aim to help me to answer the fundamental “Would I want to work with this person?” question. Below I go through what I look for in each question. Note that unlike a “hackerrank” style assessment, these questions look for qualitative attributes. Answers do not have a completely correct/wrong answer. The way in which the candidate answers is more important than the answer itself. Self-intro Allow the candidate to go over their career trajectory. Have them delve deep into some projects they are proud to have been part of. Allow them to expand on specific processes/tools used. This will provide you with loose ends to relate the below questions with. Q1. How … -
Understanding select_related and prefetch_related in Django
When I started learning Django, the one thing that fascinated me a lot was the Django ORM. Maybe I was happy that I will not have to write SQL queries and can skip all the pain of writing crazy joins to fetch the data. I was throwing in objects.all()... -
Django News - Django 4.x Technical Board Election Results - May 21st 2021
News Django 4.x Technical Board Election Results A new technical board was elected for Django! djangoproject.com Sponsored Link Seeking 5 beta users for feedback to improve Django Server Management SaaS project This may be a bad idea. I'm seeking 5 fellow Django devs to be beta users for the Django equivalent of Laravel Forge or Rails Hatchbox. If you're highly opinionated and enthusiastic about this area, go to http://bit.ly/gd-seeking-beta (notion doc) so I can get your feedback. greendeployhq.com Articles Fluent in Django: Get to know Django models better A great look at Django models in this newest article in the Fluent in Django series from GirlThatLovesToCode. girlthatlovestocode.com Monitoring Django applications Paolo Melchiorre 🐍 A summary of different monitoring methods for Django projects from crowdsourcing to error checks to specialized tools. hodovi.ch Disabling FLoC, Google’s new advertising technology by Adam Johnson Google has started rolling out FLoC, currently to 0.5% of Chrome users, and some sites are already disabling it. In this post we’ll cover what FLoC is, who’s disabling it, why, and how to do so on a Django site. adamj.eu HTMX & Django—bringing the new school to the old school by Craig Anderson A nice using HTMX with Django … -
Per-visitor Data With Sessions
In the last Understand Django article, we saw what it takes to make your Django project live on the internet. Now, we’ll get back to a more narrow topic and focus on a way Django can store data for visitors to your site. This is the kind of data that doesn’t often fit well into your Django models and is called session data. From Browser To DjangoURLs Lead The WayViews On ViewsTemplates For User InterfacesUser Interaction With FormsStore Data With ModelsAdminister All The ThingsAnatomy Of An ApplicationUser AuthenticationMiddleware Do You Go? -
Deploying a Django project on AWS Lambda using Serverless (Part 3)
To follow up my previous blog post I decided to show you how to update existing and create new AWS resources for a Django project using Terrafom (infrastructure-as-code). Terrafom is an open-source infrastructure as code software tool that provides a... -
Software Estimation Is Hard. Do It Anyway.
It’s well established that estimating software projects is hard. This is true, but you should learn how anyway. -
TravisCI & Flake8 with Docker for Test-Driven Development (TDD)
Django, as we know, is all-encompassing, with a DB with an ORM , Authentication system, Django Rest Framework , built-in tests, and a web server gateway interface, its a power-house of a framework for web development. Docker as we know changed t... -
2021 DBIR Highlights
The 2021 edition of Verizon’s Data Breach Investigations Report (DBIR) is out. I read the DBIR every year; it’s one of the only analyses of real-world security failures that approaches any sort of scientific rigor. Here are some of the highlight lights from the 2021 edition, along with my commentary. -
Django London Meetup 2021
The Django London Meetup group is a social meetup, that hold a gathering the 2nd Tuesday of each month. -
This is my second Post
There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsu... -
Getting Started with Django (Part 1)
Django is a free and open-source high-level Python web framework. As Django itself claims as “The web framework for perfectionists with deadlines.” is absolutely right. I have been using Django for around 1 and a half years, and I find it very useful... -
Getting Started with Django (Part 1)
Django is a free and open-source high-level Python web framework. As Django itself claims as “The web framework for perfectionists with deadlines.” is absolutely right. I have been using Django for around 1 and a half years, and I find it very useful... -
Django: Getting Started
In this series, we are going to create a random motivational quotes generator using Django. This is a beginner-friendly series, so you don't have to have any prior knowledge of Django. Oh, by the way, it's pronounced JANG-OH, you're welcome. ;) Disc... -
Django: Getting Started
In this series, we are going to create a random motivational quotes generator using Django. This is a beginner-friendly series, so you don't have to have any prior knowledge of Django. Oh, by the way, it's pronounced JANG-OH, you're welcome. ;) Disc... -
Migrating data in Django
While working on your project, you will have to add new fields to your database. When you add a new field to the database, what values should the existing rows get for this field? You may want it to be null or you may want to populate it with correct... -
Djangify
The conventional way we can convert any HTML, CSS, JS, or BootStrap template into a Django compatible template by manually making some changes to it like: Step 1 Add {% load static %} tags for the JS,CSS,image files that we want to include in the ... -
Python libraries📑
Let's discuss , know and apply some useful Python libraries and make Amazing project. So get ready to start 1. Pillow [Related to image manipulation] Pillow is actually a fork of PIL – Python Image Library. At first, pillow was mainly based on th... -
Django News - PyCon US, Django 3.2.3, and Wagtail 2.13 - May 14th 2021
News Django bugfix releases issued: 3.2.3, 3.1.11, and 2.2.23 New bugfixes were just released. As ever, the best security is to be on the latest version of Django. djangoproject.com Wagtail 2.13 release notes New updates to StreamField, simple translation module, commenting, combined account settings, and formal support for Django 3.2. wagtail.io Interested in running for the PSF board? The next PSF Board election is coming up soon. Learn more about what a Board role entails. python.org Events PyCon 2021 - May 12-18 The virtual PyCon US is happening now with talks May 14-15, job fair on the 16th, and sprints 16-18th. pycon.org DjangoCon EU - June 2-6 The schedule and tickets are available for DjangoCon EU. Five days of virtual talks, sprints, and tutorials. djangocon.eu Sponsored Link Senior Django Developer As a Senior Django Developer you’ll work alongside the CTO, fellow software engineers, product managers, and designers, to execute major technical projects on Muck Rack, lead the building of new features, and help shape our engineering culture and processes. Our engineers are not siloed to any particular part of the application–everyone contributes everywhere. You should be excited about working with large amounts of data. grnh.se Articles Multi-Tenancy in Django A … -
My First Post (test)
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It h... -
Window Resizer python tkinter mini project for beginners
Python Tkinter mini project - Window Resizer Let's create python and tkinter project to brush-up your technical skills. Creating projects is the best way of learning something faster. First of all let's create a GUI window from tkinter import * r...