News
Python 3.8.6 is now available
Python 3.8.6 is a maintenance release. Check out the What's New In Python 3.8 document for more information about features.
Django CMS 3.8.0 RC1 released
The first Django CMS release under a newly founded Django CMS Association. This release focuses on Django 3.1 support.
Events
Django Day Copenhagen 2020
Djangonauts from in and around Denmark are meeting up for the second edition of Django Day, to be held on September 25th 2020. It will be a full day of talks, either to be experienced online -or- at our venue with safe social distancing.
Articles
Django Best Practices: Security
Django security best practices starting with the most important and working down the list.
Docker Github Actions V2
Docker released V2 of their Docker Github Actions which adds some much better build and caching options.
Django and its default values
A dive into how Django's migration system handles default values on model fields.
What is the Value of Browser Diversity?
A thoughtful take on what's lost if one/two browsers dominate.
feincms may still be relevant
Thoughts on the Django CMS landscape from the creator of feincms.
Using sorl-thumbnail with Redis on Heroku
How to add sorl-thumbnail to a Django project with Redis and deploy on Heroku
Comprehending Class-Based Views in Django - The View Base Class
A look at the base View
class from which all other Class-Based Views are built.
Videos
Python Web Conf 2020 Talks
The Python Web Conf 2020 Talks were released to YouTube!
Django Boston August 2020 Virtual Event with Benjamin "Zags" Zagorsky
Benjamin "Zags" Zagorsky presents "Rapid Prototyping in Django", a distilled set of lessons and recommendations from the projects we've done for how to build a functional Django website in 2 days and not regret it later.
"At The Root : Wagtail + Gatsby + GitPod" - Dawn Wages (PyConline AU 2020)
How to combine headless Wagtail with a Gatsby frontend and Gitpod.
Can you keep a secret?
Techniques to properly store, share, and manage your secrets, as easily as possible, and most importantly without disrupting your workflow.
Podcasts
Running in Production - Collecting and Processing Genomic Data to Help Cure Rare Diseases
Using Django to build an internal tool that helps make sense of ~5 Petabytes of Genomic data that is then made available to clinicians. It’s running across many different AWS resources using ECS Fargate.
Projects
raphaelm / django-scopes
Safely separate multiple tenants in a Django database
django-scopes
Motivation
Many of us use Django to build multi-tenant applications where every user only ever gets access to a small, separated fraction of the data in our application, while at the same time having some global functionality that makes separate databases per client infeasible. While Django does a great job protecting us from building SQL injection vulnerabilities and similar errors, Django can't protect us from logic errors and one of the most dangerous types of security issues for multi-tenant applications is that we leak data across tenants.
It's so easy to forget that one .filter
call and it's hard to catch these errors
in both manual and automated testing, since you usually do not have a lot of clients
in your development setup. Leaving radical, database-dependent ideas
aside, there aren't many approaches available in the ecosystem to prevent these mistakes
from happening aside from rigorous code review.
We'd like…
Safely separete multiple tenants in a Django database
matthiask / feincms3
feincms3 provides additional building blocks on top of django-content-editor and django-tree-queries which make building a page CMS (and also other types of CMS) simpler.
feincms3
feincms3 offers tools and building blocks which make building a CMS that is versatile, powerful and tailor-made at the same time for each project a reachable reality.
An introduction to feincms3, guides and reference docs are available in the official feincms3 documentation. There is also an example project which shows some its capabilities.
feincms3 offers tools and building blocks which make building a CMS that is versatile, powerful and tailor-made at the same time for each project a reachable reality.
SmileyChris / django-countries
A Django application that provides country choices for use with forms, flag icons static files, and a country field for models.
Django Countries
A Django application that provides country choices for use with forms, flag icons static files, and a country field for models.
Country names are translated using Django's standard gettext
. If you would
like to help by adding a translation, please visit
https://www.transifex.com/smileychris/django-countries/
Installation
-
pip install django-countries
For more accurate sorting of translated country names, install it with the optional pyuca package:
pip install django-countries[pyuca]
-
Add
django_countries
toINSTALLED_APPS
CountryField
A country field for Django models that provides all ISO 3166-1 countries as choices.
CountryField
is based on Django's CharField
, providing choices
corresponding to the…
A Django application that provides country choices for use with forms, flag icons static files, and a country field for models.
dbmqproject / dbmq
Docker-based Message Queuing
Docker-based Message Queuing
Docker SDK - Article on Medium - Read the Docs here ➤
Build and ship your Dockerized Django applications and feel free to use MBs
Introduction
Docker-based Message Queuing (DBMQ) is an efficient way to run the pre-built configurations on the build process of Dockerfiles. Once you have finished configuring, you will be able to create your images based on your configurations. DBMQ is very flexible with Django projects and you might stay away from troubles with creating a Dockerized Django project. After the building process, your image will be ready to get started. Use a text editor to step through your container and make changes. (the pre-installed editor is Vim)
Why DBMQ is Needed?
This system locates between the user and the Docker service. You config your requirements and let this automated system to provide them to you. You don't need to be a…
A Docker-based Message Queu using Django as the web server.
Top comments (0)