Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
Django News - Django security releases issued: 4.0.6 and 3.2.14 - Jul 8th 2022
News Django security releases issued: 4.0.6 and 3.2.14 A potential SQL injection was recently found and fixed with this security release. All users of Django should upgrade as soon as possible. djangoproject.com Python Software Foundation News: Board Election Results for 2022! Congratulations to everyone who won a seat on the PSF Board! blogspot.com Announcing Python Software Foundation Fellow Members for Q2 2022! 🎉 The PSF is pleased to announce its second batch of PSF Fellows for 2022! The list includes DSF Fellow Carlton Gibson. blogspot.com Quart is now a Pallets project A very positive development in the Flask ecosystem: Quart, an ASGI re-implementation of the Flask API has joined the Pallets organization and the long term aim is to merge Quart and Flask to bring ASGI support directly to Flask. palletsprojects.com Sponsored Ad Mid/Senior Django Backend or Full-Stack Engineer at Boutique Digital Agency Type/Code designs and builds digital products and experiences, working with ambitious clients to bring powerful ideas to life. Our clients range from growing startups to cultural institutions to industry leaders, including Google, A24, MIT Media Lab, GE, MoMA, and Scholastic. We focus on conceiving, designing, and developing exceptional digital experiences across a wide range of mediums. typecode.com … -
Panel interviews don't work
There’s a Right Way to conduct job interviews: one-on-one, with a single interviewer per interview session. If you need multiple interviewers (you probably do), schedule multiple sessions, each one-on-one. The alternate approach, panel interviews – having multiple interviewers in a session at once – is almost always a bad practice. It increases stress on the candidate, risks measuring the wrong things, and doesn’t lead to better results. Avoid panel interviews: they don’t work. -
Pointer Podcast - 108
The Pointer Podcast is an Italian podcast dedicated to technology and innovation enthusiasts. -
htmx - Carson Gross (Ep95 Replay)
htmx@htmx_org on TwitterhyperscriptBig Sky Softwaredjango-htmxRapid Prototyping with Django, htmx, and Tailwind CSSSupport the ShowThis podcast does not have any ads or sponsors. To support the show, please consider purchasing a book, signing up for Button, or reading the Django News newsletter. -
Checking References: What to do if a reference check goes wrong
Most of the time, reference checks go very well: you only turn up information that confirms your decision to hire this candidate. But sometimes — maybe about 10% of the time — the reference will tell you something concerning. Here’s what to do if that happens. -
Einladung zur Django-UserGroup Hamburg am 13. Juli
Das nächste Treffen der Django-UserGroup Hamburg findet am Mittwoch, den 13.07.2022 um 18:30 statt. Achtung: Neue Location! Dieses Mal treffen wir uns in den Räumen der Hatraco GmbH, Peutestraße 22a in 20539 Hamburg. Auf diesem Treffen gibt es einen Vortrag über Django und GraphQL. Eingeladen ist wie immer jeder der Interesse hat sich mit anderen Djangonauten auszutauschen. Eine Anmeldung ist nicht erforderlich, hilft aber sehr bei der Planung. Die Organisation der Django-UserGroup Hamburg findet über Meetup statt. Um sich anzumelden und automatisch über zukünftige Treffen informiert zu werden, werdet bitte Mitglied in unserer Meetup-Gruppe: http://www.meetup.com/django-hh Weitere Informationen über die UserGroup gibt es auf unserer Webseite www.dughh.de. -
eBook: The Definitive Guide to Hotwire and Django
You will learn building modern web applications with Hotwire, Tailwind CSS and Django. -
The PyCon Italia 2022 multiplicity
More than two years after the latest edition, this year the PyCon Italia conference took place again in person, and at the 2022 edition I participated in multiple roles, all interesting and enriching for me. -
Django News - 2022 Campaign Results - Jul 1st 2022
News PyCharm & DSF Campaign 2022 Results The sixth annual JetBrains PyCharm promotion in June netted the Django Software Foundation $25,000 this year. djangoproject.com 🚨 Django 4.0.6 and 3.2.14 high severity security releases on July 4th Mariusz Felisiak gave everyone a heads up to look for a Django 4.0.6 and 3.2.14 high severity security update on July 4th. twitter.com Sponsored Ad Django GDPR Cookie Consent Highly customizable Django app to make your Django website compatible with GDPR Cookie law. gumroad.com Articles Forms in Django 4.0+ Django 4.0 made rendering forms more flexible using the template engine. David Smith shows us how to render forms and highlights what features to expect in Django 4.1. github.io How to set up Webpack and TailwindCSS in a Django Project A guide to one-time guide setting up Webpack and Tailwind CSS to work with a Django application. builtwithdjango.com How to Run a Django Migration “By Hand” Adam Johnson shows us how to apply database migrations by hand using sqlmigrate and dbshell. adamj.eu Google Summer of Code 2022: One Month Progress The first post by one of this year's Google Summer of Code recepients, Deepak Dinesh, who is focusing on improving benchmarking within Django. medium.com Videos … -
Teacher Checklist Template - Building SaaS with Python and Django #138
In this episode, I started by finishing off some refactoring work that I began on the previous stream. Once that was wrapped up, I built the data for the teacher checklist wit the context data that I added in previous streams. -
Teacher Checklist Template - Building SaaS #138
In this episode, I started by finishing off some refactoring work that I began on the previous stream. Once that was wrapped up, I built the data for the teacher checklist wit the context data that I added in previous streams. -
How to Run a Django Migration “By Hand”
Normally your Django project’s deploy process runs the migrate command, and that takes care of updating your database as necessary. Especially on smaller databases, Django’s migration system can “just do it” for you. But sometimes it can be necessary to run migrations “by hand” in your database’s SQL console. I have found this to be the case with larger, busy databases, and when using tools like pt-online-schema-change to apply schema changes. In this post we’ll cover the process for running a migration by hand, and adapting it to reversing migrations. Run a Migration “By Hand” Hold onto your butts… 1. Find the SQL to run We write Django migrations in Python, but they ultimately end up running a series of SQL statements. To run a migration by hand, you need those SQL statements, so you can run them yourself. You can display the SQL for a migration with Django’s sqlmigrate command like: $ ./manage.py sqlmigrate <app> <prefix> This outputs each migration operation with a commented header describing what it does and then its actual statements. Replace <app> with the label of the app that the migration lives in. Replace <prefix> with a unique prefix of the migration’s name - normally … -
Django News - Django 4.1 beta 1 released - Jun 24th 2022
News Django 4.1 beta 1 released Django 4.1 beta 1 is now available. It represents the second stage in the 4.1 release cycle and is an opportunity for you to try out the changes coming in Django 4.1. djangoproject.com 2022 Python Software Foundation Board Elections Just a reminder that if you are a registered member of the Python Software Foundation, you may vote in this year's election until June 30th, 2022 AoE. python.org Get paid to contribute to urllib3 Announcing urllib3's bounty program. sethmlarson.dev Sponsored Ad Affordable Heroku-like experience for Django. Spin up a production-ready Django application, Postgres DB, and Redis in 5 minutes on AWS, DO, or any other provider. appliku.com Articles Customizable Django Admin themes Arpit shows us how to quickly use django-admin-interface to customize the Django Admin's color scheme and how to load custom themes. dev.to Six things I do every time I start a Django project Everyone approaches starting a project differently, and this was a fun read to see how Brenton Cleeland does it. This topic might make a fun Django Forum thread too. brntn.me How to Find and Stop Running Queries on PostgreSQL A look at stopping PostgreSQL queries via SQL, techniques for finding … -
Checking References: How to Check References
Part two of my reference check series, covering the nuts and bolts of conducting a reference check. When should you check references? How many? How should you contact references? What questions should you ask? -
Refactoring and New Features - Building SaaS with Python and Django #137
In this episode, I continued on the teacher checklist for the homeschooling app. We added data to the context and this required some refactoring to be able to reuse data from other parts of the app. -
Refactoring and New Features - Building SaaS #137
In this episode, I continued on the teacher checklist for the homeschooling app. We added data to the context and this required some refactoring to be able to reuse data from other parts of the app. -
How to Patch Requests to Have a Default Timeout
Python’s requests package is very popular. Even if you don’t use it directly, it’s highly likely one of your dependencies does. One wrinkle in requests’ design is that it has no default timeout. This means that requests can hang forever if the remote server doesn’t respond, unless the author remembered to add a timeout. Issue #3070 tracks the discussion on adding such a default timeout, but it has been open several years. httpx learned a lesson from this and it has default timeout of five seconds. This “missing default” has caused several production incidents at my client ev.energy. Remote server outages caused background tasks to take 45 minutes instead of 4.5 seconds, waiting for responses that wouldn’t come. This caused other important background work to be delayed, with knock-on effects. Auditing the codebase to add missing timeout parameters only got so far. New third party and first party code “slipped through the net” and was deployed without a timeout. I came up with a solution to change requests to use a default timeout. I did so with patchy, my package for patching the source code of functions at runtime. Patchy provides an alternative to monkey-patching with a few advantages: it … -
Building a Single Page Application with Python and Pyodide - Part 1
In this tutorial, you'll build a Single Page Application using Python and Pyodide to manipulate the DOM and manage state. -
How to Learn Django (Ep2 Replay)
Learning Python via Django Considered HarmfulDjango Girls TutorialDjango for BeginnersInstall Python3 on Mac/Windows/Linux/Chromebookawesome-django repodjango-vanilla-viewsClassy Class-Based Views siteDjango Deployment ChecklistGroupsDjango Users Google GroupStack OverflowSimple is Better than Complex Community BoardSubreddits: LearningDjango and DjangoDjango GirlsDjango MeetupsSupport the ShowThis podcast does not have any ads or sponsors. To support the show, please consider purchasing a book, signing up for Button, or reading the Django News newsletter. -
Checking References: Yes, You Should Check References
Reference checking isn’t optional: it can save you from making a big mistake. Reference checks are your last line of defense against hiring a jerk. -
Don’t Mock What You Don’t Own in 5 Minutes
One of the most common issues programmers have when they try to test real-world software, is how to deal with third-party dependencies. Let’s examine an old, but counter-intuitive principle. -
How to optimize PostgreSQL queries from Django using pgMustard
Slow queries happen, and when they do, it can be tough to dissect why they’re slow. This difficulty is compounded by using Django’s ORM, since it generates the SQL for you, so you may have little idea of the actual queries “under the hood”. In this post we’ll look at what pgMustard does and how to use it with the Django ORM. (Disclosure: I know pgMustard co-founder Michael Christofides, but I have not been paid for this post. I just like the product.) pgMustard… Is This a Mustard? PostgreSQL has an EXPLAIN statement to obtain a query plan for any given SELECT query. This plan contains structured performance data, and can contain both planned and actual metrics. Query plans are great, but interpreting them requires a broad understanding of PostgreSQL, and knowledge of what to focus on first. I ofetn find understanding query plans overwhelming. This is where pgMustard enters the picture. It takes a query plan, visualizes it, and provides interpretation of the results. It ranks opportunities for optimization out of five stars (five = most optimizable) and provides detailed information about what you can do next. For example, here’s one of their demo visualizations: This query took 55 … -
Django News - Last Chance for a DjangoCon Europe 2023 - Jun 17th 2022
News Get PyCharm, Support Django Until June 20, you can purchase PyCharm Pro at 30% off, with all of the proceeds being donated to the Django Software Foundation. jetbrains.com Last Chance for a DjangoCon Europe 2023 There will not be a DjangoCon Europe 2023 if the DSF board does not receive viable proposals for one by August 10 End of Day AoE. There is not sufficient time after that for an organizing group to plan a DjangoCon to happen in the traditional and calendar blocked window of April-June. djangoproject.com The PSF's 2021 Annual Report The Python Software Foundation published its 2021 Annual Report, including comments from its new Executive Director Deb Nicholson, outgoing Board Chair Lorena Mesa, financials, grant funding, and much more. blogspot.com Sponsored Ad Affordable Heroku-like experience for Django. Spin up a production-ready Django application, Postgres DB, and Redis in 5 minutes on AWS, DO, or any other provider. appliku.com Articles Utilising caching in your applications A detailed look at improving application performance with select_related, prefetch_related, and caching. django-cms.org Share editor settings with EditorConfig Marijke Luttekes shows us how to use EditorConfig to fix common team formatting issues. marijkeluttekes.dev The End of Localhost A prediction of the future … -
DORA Metrics: the Right Answer to measuring engineering team performance
“What metrics should I use to measure my engineering team’s performance?” Believe it not, there is a Right Answer: the so-called DORA metrics. -
Making a Compelling Offer — in this economy?
An edited transcript of a talk I delivered at the CTOCraft Hiring MiniConf. How do you make a job offer that’ll be accepted when other companies are out there offering candidates over a million dollars?