Django community: Community blog posts RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
Using Django DateField with Apollo GraphQl in Android
Hello, If you use Qraphql with Django (Graphene) and you have a model that contains DateField then when you have an android client that use Apollo to parse the graphql you will have a parse error with date field and you will not get the data that you... -
Django Models Part I
When creating a web application you will come up with a need to have some sort of mechanism to store your data permanently either on a filesystem or a Database. For this article/tutorial we will have a look inside storing your data on a Database. Da... -
Auto complete foreignKey in Django
Hello, If you want to add autocomplete field or autocomplete search field in Django forms its pretty easy, there are a lot of existing packages that can help you with that, the one that we gonna use is: django-ajax-selects. Installation Activate your... -
Auto complete foreignKey in Django
Hello, If you want to add autocomplete field or autocomplete search field in Django forms its pretty easy, there are a lot of existing packages that can help you with that, the one that we gonna use is: django-ajax-selects. Installation Activate your... -
Django News - DjangoCon US CFP Last Call and what's new in Python 3.11 - Jul 23rd 2021
News DjangoCon US 2021 CFP Last Call! This year's DjangoCon US 2021 CFP closes on July 25th, 2021 AoE. papercall.io Articles What’s New In Python 3.11 An explanation of very cool features due in Python 3.11 including enhanced error locations in tracebacks, improved modules, and several optimizations. python.org Python 3 Installation & Setup Guide A step-by-step guide with plenty of screenshots for Windows, macOS, Linux, and Chromebook. wsvincent.com Django-Tailwind v2.2 is out Django-Tailwind is a very interesting package that combines Tailwind with Django. The latest version is now out. timonweb.com Tutorials Custom Permission Classes in Django REST Framework This article looks at how to build custom permission classes in Django REST Framework (DRF). testdriven.io Python Best Practices for a New Project in 2021 - Alex Mitelman A very detailed look at the modern Python development ecosystem. It can be helpful for someone coming to Python from another programming language or an existing developer wanting to stay current in 2021. mitelman.engineering pauloxnet – Maps with Django (part 2): GeoDjango, PostGIS and Leaflet A quickstart guide to create a web map with the Python-based web framework Django using its module GeoDjango, the PostgreSQL database with its spatial extension PostGIS and Leaflet, a … -
Django Tip | Run a block of code when the server starts.
You have an awesome django application with a lot of features and now you need a piece of code to execute once when the server starts. Hmm.. Let's see how Django let's you handle that use case. One common use case might be doing some kind of db sync... -
Django Tip | Run a block of code when the server starts.
You have an awesome django application with a lot of features and now you need a piece of code to execute once when the server starts. Hmm.. Let's see how Django let's you handle that use case. One common use case might be doing some kind of db sync... -
Starting Django project with MongoDB using Djongo.
Hi everyone, as an enthusiast developer, I wanted to learn about databases. There are lots of them on the internet but the one that caught my attention is MongoDB. Recently I heard about the unique database called MongoDB. It's a NoSQL document datab... -
What are RESTful API and how to use it?
What is an API? An API is a common terminology we've all come across in the internet world. But what is it and why is it used? In layman terms, An API(Application Programming Interface) acts as translator for two machines communicating over a web ... -
Docker & Flask - Nick Janetakis
Nick Janetakis's personal siteBuild a SAAS app with Flask courseDive into Docker courseExample Flask + Docker appExample Django + Docker appRunning in Production podcastdjango-unicorn OpenResty -
Delegate Outcomes, Not Methods
To make delegation most effective, tell people the results you want, but let them decide on how to achieve those results. -
Django-Tailwind v2.2 is out
Today I'm officially announcing the release of Django-Tailwind v2.2. It was soft-launched last week, and since I haven't got any complaints, I think I'm good to let you all know about the release. The current update adds improved support for the latest 2.2 version of the Tailwind CSS framework. … Read now -
Make Failure A (Safe) Option
Your gut instinct is probably to wait to delegate some work until you’re fully confident that the person can handle it. This is often a mistake. Instead of withholding a delegation opportunity from someone because they might fail, you should instead create a situation where failure will be safe. -
Deploy Django with Postgres, Nginx, and Gunicorn on Ubuntu 20.04
Introduction What is Django? Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so we can focus on writin... -
“Give Away Your Toys”
My foundational principle of delegation: “give away your toys”. Look to delegate the work you love, not the stuff you dislike or dread. -
Going Live
Full show notes are available at https://www.mattlayman.com/django-riffs/14. -
my workflow with django
my dev set up: os: ide : pycharm browser: googlechrome django: 3.2.. python: 3.9.. -
Episode 14 - Going Live
On this episode, we will look at what it takes to go live and how to prepare your Django project for the internet. Listen at djangoriffs.com or with the player below. Last Episode On the last episode, we discussed how you can verify that your site works and continues to work. We dug into automated testing and how to write tests for your Django apps. Pick A Python Application Server When you begin to learn Django, the documentation will instruct you to use . -
What's delegation?
Most managers know that delegation is part of their job, but the vast majority of management texts are incredibly non-specific about what delegation means. So today I’m beginning a series on delegation to try to fill this gap. I’ll cover the principles and theories that guide how I think about delegation, ending with a concrete example: how to delegate meeting attendance. To kick things off: what does delegation mean? -
Maps with Django (part 2): GeoDjango, PostGIS and Leaflet
A quickstart guide to create a web map with the Python-based web framework Django using its module GeoDjango, the PostgreSQL database with its spatial extension PostGIS and Leaflet, a JavaScript library for interactive maps. -
Know Your ORM | Where do objects come from?
Note: This is the first installment of our new series Know Your ORM. Stay tuned for more. So, you have been learning Django since a few days or weeks. You have worked with Django ORM and Django QuerySet API. And, you are totally familiar with this li... -
Managing concurrency in Django using select_for_update
A tutorial on how one can use select_for_update to lock a Django queryset until the transaction it is in is committed in order to handle concurrency. -
Django JSON Response safe=False
Hi👋 everyone, I'm happy to see my self writing blogs to you once again after a while due to some reasons. So, today; I would be sharing with you shortly, why safe=False is important in rendering {JSON} data in Django. Firstly, what is JSON? JSON si... -
My Zuri x i4G experience
Photo by Karolina Grabowska from Pexels Picture being the sub-team lead of your team and having no idea about how to go about the project. Lol!! Earlier this year, I applied for a free software developer program for absolute beginners organized by... -
Django News - New CPython Developer-in-Residence - Jul 16th 2021
News Wagtail 2.12.6 and 2.13.4 released Wagtail 2.12.6 and 2.13.4 bug fixes were released. See their changelog for more details. github.com Python Software Foundation News: Łukasz Langa is the inaugural CPython Developer-in-Residence! The PSF and the Python Steering Council are pleased to announce that the inaugural Developer-in-Residence role will be held by core develope... blogspot.com htmx 1.5.0 has been released! htmx is a popular way to add Javascript functionality to your Django site without writing any JavaScript yourself. htmx.org Events Meetup with talks | Meetup Thu, Aug 26, 2021, 5:00 PM: Do you want to share something? Then this is a great chance! Come prepared or unprepared with your Django/Python talk, short, medium and long. Got an idea? Please tell us: meetup.com Articles Python Type Hints - How to Avoid “The Boolean Trap” by Adam Johnson “The Boolean Trap” is a programming anti-pattern where a boolean argument switches behaviour, leading to confusion. In this post we’ll look at the trap in more detail, and several ways to avoid it in Python, with added safety from type hints. adamj.eu Control Runaway Postgres Queries With Statement Timeout A well tuned production Postgres database is capable of easily running thousands or up to …