Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
Designing A Geospatial Rest Backend Using GeoDjango
Ever wanted to build a system where you can process map data just like Google maps or Apple maps? We are going to do exactly just that in this article 🚀. First, we would look into some basics of geographic system terminology and then dive directly i... -
Creating a Boilerplate for the new Django Project
If you are familiar with the default folder structure of a new Django project then this article will be easier to understand. This article will not cover the basics of the project folder structure in the Django project. During my Django development e... -
Django Rest Framework Permissions example
In DRF We can use the permissions to implement RBAC (Role-Based Access Control). Role-Based Access Control is an approach that restricts access to users based on their role. You can use Django’s authentication and authorization features to configure ... -
Django Rest Framework Permissions example
In DRF We can use the permissions to implement RBAC (Role-Based Access Control). Role-Based Access Control is an approach that restricts access to users based on their role. You can use Django’s authentication and authorization features to configure ... -
Why Django Web development is Most popular for Backend Web development
The Reason Why Django Web development with Python is Most popular for Backend Web development In this competitive IT world there are many web developments available. In that case, the most challenge for web developers is to choose the right Technolog... -
FYP-DevLog-009
Progress Highlights Project Research / Discussion Received FYP monitoring feedbacks from panels (overall satisfactory!) Created a Google Doc to compile the FYP monitoring assessment results, comments and suggestions for improvement from panels and... -
OAuth2 in Python
This article first provides an overview of Oauth2 concepts and then looks at how to implement OAuth2 with OAuthLib. -
Changing to Full Stack
Hello everyone, TGIF!!!!!!! How was your week? I hope good. About a week ago, I decided to learn just PHP all over again. However, I had to change my plans. I've decided to learn the full pack. Yep! I want to be a full stack web developer and this t... -
Django News - Django IRC moves to Libera.Chat - May 28th 2021
News Django IRC Channels migration to Libera.Chat After being on FreeNode for many years, the Django IRC channels have moved over to the next-generation Libera.Chat platform. djangoproject.com htmx 1.4.0 has been released! htmx 1.4.0 features queued events, TemplateFraments, and a whole lot more. htmx.org Events Virtual DjangoCon Europe is June 2-6 DjangoCon Europe is a five-day international conference for the community by the community about the Django web framework, held each year in Europe. djangocon.eu Sponsored Link Seeking 5 beta users for feedback to improve Django Server Management SaaS project Last time, I was seeking 5 fellow Django devs to be beta users for my Django equivalent of Laravel Forge. I have spoken with 6 Django devs on Zoom. I hope to speak with 10 different Django devs total. If you're highly opinionated and enthusiastic about this area, go to https://bit.ly/gd-seeking-beta (notion doc) so I can get your feedback. greendeployhq.com Articles Using Django Check Constraints to Limit the Range of an IntegerField Another way to use database constraints via Django’s CheckConstraint class. adamj.eu Dockerizing Django with Postgres, Gunicorn, and Traefik A tutorial on how to set up Django with Postgres and Docker. For production environments, we'll add on Gunicorn, Traefik, … -
Python Convert Celsius to Fahrenheit
Python Convert Celsius to Fahrenheit Want to create python converter Celsius to Fahrenheit but don't know how to code? That's okay. Today I will show you how you can create Celsius to Fahrenheit converter using python and GUI library Tkinter. Start... -
Caktus Group - Tobias McNulty & Colin Copeland
Caktus GroupCaktus BlogAbout CEO Tobias McNultyAbout CTO Colin CopelandFollow Caktus on Twitter, Facebook, LinkedIn, and YouTubeCaktus on GitHubPair Programming During a PandemicDjango Ops TeamOpen Policing NCCode for DurhamSupport the ShowThis podcast does not have any ads or sponsors. To support the show, please consider visiting LearnDjango.com, Button, or Django News. -
Introduction to Django ORMS
Hey there 👋 welcome, In this article, I'm going to be demystifying what ORM is in Django. There are two things I'm going to cover in this article: What is ORM? and Why ORM?. And of course, ORM means Object-relational mapper. The Django web framework... -
How to Simplify Django Migrations and Deployment
When removing fields from Django models, or adding non-nullable fields, it can be hard to avoid a mismatch between code running on some servers and the database in use. By using django-add-default-value and django-deprecate-fields to simplify the migration and deployment process, you will eliminate a common Django deployment headache. This has been a challenge for a while now. Believe it or not, Django ticket #470 has been open since 2005! Broken Columns Suppose you've removed one or more fields from Django models, maybe because you're cleaning up old code and they are no longer needed. Whatever the reason may be, Django will create migrations to remove those columns from their database tables. As soon as you run those migrations on any server, those columns will be gone from the database. This can be problematic because any servers running the older code that still references those columns will break. The Workaround There’s an interesting way to keep those columns from breaking. Using django-deprecate-fields makes it safe to migrate the database while all servers are still running old code. Instead of deleting the field from your model code, you wrap its definition in deprecate_field() like this: name = deprecate_field(models.CharField(max_length=50)) Then, makemigrations. deprecate_field … -
Best way to start a Django project
First the Philosophy Skip this para' if you want. Or, give 5 minutes of your life. If you want just to know something about Django goto listing that says ' Finally, how to start your project in the best way possible?' directly. Hey! Hope you're doing... -
My Software Estimation Technique
Last time, I explained that, although estimating software project timelines is hard, you should do it anyway. With that background, I want to go into some detail and share the technique I use when I need to develop a project timeline. I don’t believe there’s a single “correct” technique; this is one system that works well for me. However, my system does have one critical characteristic that I believe any effective estimation technique should have: it captures both time and uncertainty. -
Dockerizing Django with Postgres, Gunicorn, and Traefik
This tutorial details how to configure Django to run on Docker along with Postgres, Gunicorn, Traefik, and Let's Encrypt. -
Let's set up the Environment for Django
In this post, we will see how to set up the Environment for Django. the best setup gives us the best execution so before directly jumping into the coding environment set-up is the thing which is very crucial. Things we will cover in this post are P... -
An Introduction to The web framework for perfectionists with deadlines (Django)
In this post, we will be going to discuss one of the most used and fast-growing web framework i.e Django. Table of content What Is Django? What are the features of Django? What are the advantages of Django? Companies that uses the Django so, let's... -
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()...