Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
Go Standard Library App - Building SaaS #197
In this episode, we are taking a break from JourneyInbox and exploring what kind of Go app we can make by just using the Go standard library. -
Go Standard Library App - Building SaaS #197
In this episode, we are taking a break from JourneyInbox and exploring what kind of Go app we can make by just using the Go standard library. -
An Opinionated Introduction to CI/CD
Continuous Integration / Continuous Delivery (or Deployment), CI/CD, is a set of practices used by engineering organizations to improve the quality of software they deliver, how fast they deliver that software, and detect issues with that software before they affect end users. Unfortunately, the term can mean a lot of different ideas and approaches. So, in this talk we’re going to try to unravel some of those ideas to give you some ideas on how you too can deliver software better. -
An Opinionated Introduction to CI/CD
Continuous Integration / Continuous Delivery (or Deployment), CI/CD, is a set of practices used by engineering organizations to improve the quality of software they deliver, how fast they deliver that software, and detect issues with that software before they affect end users. Unfortunately, the term can mean a lot of different ideas and approaches. So, in this talk we’re going to try to unravel some of those ideas to give you some ideas on how you too can deliver software better. -
Django News - Wagtail 6.2 Released / Python 3.13.0rc1 - Aug 2nd 2024
News Python Insider: Python 3.13.0 release candidate 1 released This is the first release candidate of Python 3.13.0. blogspot.com setuptools 72.0.0 removes the test command If you used setup.py test to test your Python packages, you will need to migrate to another test runner. After five years of deprecation warnings, the test command has finally been removed. pypa.io django-allauth 64.0.0 released A number of noteworthy changes in the most recent release of this popular package. allauth.org Updates to Django Today 'Updates to Django' is presented by Raffaella Suardini from Djangonaut Space! Last week we had 22 pull requests merged into Django by 15 different contributors - including 4 first-time contributors! Congratulations to Muhammad N. Fadhil, Ellen, Lorenzo Peña and Csirmaz Bendegúz for having their first commits merged into Django - welcome on board! In Django 5.0.8, there is a bug fix which fixed a crash when creating a model with a Field.db_default and a Meta.constraints constraint composed of __endswith, __startswith, or __contains lookups. Also a regression in Django 5.0.8 and 4.2.15 that caused a crash in LocaleMiddleware when processing a language code over 500 characters. Django Newsletter Wagtail CMS Wagtail 6.2 Release There's a lot to love in the latest … -
Weeknotes (2024 week 31)
Weeknotes (2024 week 31) I have missed almost two months of weeknotes. I’ve got some catching up to do. I have tried writing a larger piece on my thoughts about CMS, but with everything going on in my personal and work life I haven’t made much progress. This weeknotes entry is me trying to get back into the groove of writing (and publishing!) regularly. django-prose-editor I have previously written about the ProseMirror-based editor for Django websites here. I have continued working on the project in the meantime. Apart from bugfixes the big new feature is the support for showing typographic characters. For now the editor supports showing non-breaking spaces and soft hyphens. The project seems to get a little more interest after the deprecation of django-ckeditor has become more well known and the project has even received a contribution by someone else. It’s always a lovely moment when this happens. django-json-schema-editor Still alpha. Updated the vendorized JSON editor and fixed the integration into Django to not throw errors with the newer version. Foreign key fields now support describing the referenced value similar to the raw ID fields functionality. Added optional support for using "format": "prose" to use the django-prose-editor to … -
Setting up DigitalOcean Spaces for Django Media
At DigitalOcean, when you need large amounts of static data (images, documents, or videos), you have two options: Volumes Block Storage and Spaces Object Storage. In case of Volumes, you mount an extra hard drive to your server and use the file system to manage your files. Whereas with Spaces, you store files in the cloud and use a special API to create, read and delete files there. Spaces Object Storage is comparable with AWS S3 Cloud Object Storage. It even supports the same API for dealing with data there. Here are some benefits of using Spaces: The price of Spaces is at least twice as low as the one of Volumes. Content Delivery Network (CDN) is available for media file caching. The configuration of Spaces is easier and the user interface is more user-friendly than the one of AWS S3. It is relatively easy to start using Spaces for media files with the django-storages package. I will walk you through setting up Spaces for your media files. Create Spaces Object Storage at DigitalOcean When creating Spaces Object Storage at DigitalOcean, you will be asked for these values: Data center - choose the one closest to your business for legal … -
Setting up DigitalOcean Spaces for Django Media
At DigitalOcean, when you need large amounts of static data (images, documents, or videos), you have two options: Volumes Block Storage and Spaces Object Storage. In case of Volumes, you mount an extra hard drive to your server and use the file system to manage your files. Whereas with Spaces, you store files in the cloud and use a special API to create, read and delete files there. Spaces Object Storage is comparable with AWS S3 Cloud Object Storage. It even supports the same API for dealing with data there. Here are some benefits of using Spaces: The price of Spaces is at least twice as low as the one of Volumes. Content Delivery Network (CDN) is available for media file caching. The configuration of Spaces is easier and the user interface is more user-friendly than the one of AWS S3. It is relatively easy to start using Spaces for media files with the django-storages package. I will walk you through setting up Spaces for your media files. Create Spaces Object Storage at DigitalOcean When creating Spaces Object Storage at DigitalOcean, you will be asked for these values: Data center - choose the one closest to your business for legal … -
Django News - Django 5.1 release candidate 1 released - Jul 26th 2024
News Django 5.1 release candidate 1 released Django 5.1 release candidate 1 is the final opportunity for you to try out a kaleidoscope of improvements before Django 5.1 is released. djangoproject.com Stack Overflow 2024 Developer Survey The most recent results show Django remaining one of the top web framework choices. stackoverflow.co Updates to Django Today 'Updates to Django' is presented by Raffaella Suardini from Djangonaut Space! Last week we had 11 pull requests merged into Django by 7 different contributors - including 1 first-time contributor! Congratulations to Maryam Yusuf for having their first commits merged into Django - welcome on board! 🚀 In Django 5.0 a regression is fixed where ModelAdmin.action_checkbox could break the admin change list HTML page when rendering a model instance with a __html__ method. Do you want to follow Eliana Rosselli's path to becoming a new Django core contributor? Listen to her journey during her talk in DjangoCon Europe. Django Newsletter Sponsored Link Django for Beginners, Fifth Edition The fifth edition covering Django 5.x is now available! It includes loads of new content, including sections on Django architecture, a new Company Website project, full coverage of function-based and class-based views, testing, and a revised deployment guide. … -
Django News - DjangoCon US 2024 Talks - Jul 19th 2024
News Announcing our DjangoCon US 2024 Talks! The complete 2024 DjangoCon US talk and tutorial lineup is now live. DjangoCon US is from September 22nd to the 27th. djangocon.us PSF News: Announcing the 2024 PSF Board Election & Proposed Bylaw Change Results! The PSF membership approved all three bylaw proposals and elected three directors to the Python Software Foundation Board of Directors. blogspot.com Python 3.13.0 beta 4 released Python 3.13.0b4 is the final beta release preview of 3.13. blogspot.com PSF hires two new positions The Python Software Foundation announced hiring two new positions this week with PyPI Support Specialist and Infrastructure Engineer roles. Django Newsletter Updates to Django Today 'Updates to Django' is presented by Raffaella Suardini from Djangonaut Space! Last week we had 12 pull requests merged into Django by 10 different contributors - including 4 first-time contributors! Congratulations to Lucas Oliveira, brucejwb, wookkl and Daniel for having their first commits merged into Django - welcome on board! Inside the Forum there's an interesting idea to simplify generating date range reports using Postgress' generate_series(). Join the conversation. Did you miss Djangocon Europe this year? See the talks here Django Newsletter Sponsored Link Django for Beginners, Fifth Edition The fifth … -
Activation Email Job - Building SaaS #196
In this episode, we chatted about managing dependencies and the cost of maintenance. Then we got into some feature work and began building a job that will send users an email as reminder to activate their account shortly before it expires. -
Activation Email Job - Building SaaS #196
In this episode, we chatted about managing dependencies and the cost of maintenance. Then we got into some feature work and began building a job that will send users an email as reminder to activate their account shortly before it expires. -
Database Design Tutorial for Beginners
Databases are at the heart of every web application. Their design, or schema, is literally the blueprint for how all information is stored, updated, and accessed. However, learning about databases … -
Is Django a Full Stack Framework?
The title of this post, "Is Django a Full Stack Framework?" is a question I receive often from new web developers. It's a very valid question so I wanted to … -
Trailing URL Slashes in Django
Among Django's many built-in features is [APPEND_SLASH](https://docs.djangoproject.com/en/dev/ref/settings/#append-slash), which by default is set to `True` and automatically appends a slash `/` to URLs that would otherwise [404](https://en.wikipedia.org/wiki/HTTP_404). **Note**: The Chrome web … -
What is Django (Python)?
[Django](https://djangoproject.com) is an open-source web framework written in the [Python](https://www.python.org) programming language. Named after the jazz guitarist [Django Reinhardt](https://en.wikipedia.org/wiki/Django_Reinhardt), it is used by some of the largest websites in the … -
How to Get Hired as a Django Developer
Hiring developers is a famously non-linear problem. Once you have a job at a notable company, it seems recruiters constantly beat down your door. But how do you get started? … -
NameError: name 'os' is not defined
If you've started a new Django 3.1+ project and are using older tutorials or guides, it's likely to come across the following error on your command line: ``` NameError: name … -
Django ORM and QuerySets Tutorial
The Django [Object-Relational Mapper (ORM)](https://docs.djangoproject.com/en/dev/topics/db/) is one of the most powerful aspects of the web framework, an abstraction layer that allows developers to write object-oriented Python code which is translated … -
How to Learn Django (2024)
__Note__: I gave a version of this tutorial at DjangoCon US 2022. You can see the video here: -
Django News - Django security releases issued: 5.0.7 and 4.2.14 - Jul 12th 2024
News Django security releases issued: 5.0.7 and 4.2.14 Four new security issues are fixed in the latest release. As ever, being up-to-date on the latest version of Django is one of the best security measures you can take. djangoproject.com Announcing our DjangoCon US 2024 Talks! The tutorial and talk lineup for DjangoCon US is now out. There is one day for tutorials, three days of talks, and two days of sprints. djangocon.us Updates to Django Today 'Updates to Django' is presented by Raffaella Suardini from Djangonaut Space! Last week we had 11 pull requests merged into Django by 11 different contributors - including 3 first-time contributors! Congratulations to Michael, Andrew Miller and Bam_boogie for having their first commits merged into Django - welcome on board! 🚀 Great work with fixing bugs: Fixed a bug in Django 5.0 that caused a crash of Model.full_clean() on unsaved model instances with a GeneratedField. Fixed a bug in Django 5.2 where combining queries and annotations with model fields led to undesirable SQL queries. Django has released versions 5.0.7 and 4.2.14, addressing several security vulnerabilities. Please upgrade as soon as possible. Detailed information can be found in the official announcement. Django Newsletter Wagtail CMS Wagtail … -
Trial Banner Inclusion Tag - Building SaaS #195
In this episode, we worked on a trial banner that could persist across all pages on the site. Because the banner needed data that was only available on the index page, we had to refactor the banner into an inclusion template tag to make the tag work consistently. -
All I Need to Know About Engineering Leadership I Learned From Leave No Trace
Sumana challenged me to apply the principles of Leave No Trace to engineering leadership, so here we go. -
Trial Banner Inclusion Tag - Building SaaS #195
In this episode, we worked on a trial banner that could persist across all pages on the site. Because the banner needed data that was only available on the index page, we had to refactor the banner into an inclusion template tag to make the tag work consistently. -
Developing GraphQL APIs in Django with Strawberry
This tutorial details how to integrate GraphQL with Django using Strawberry.