Proposal for new routing syntax for Django. By Tom Christie, creator of Django Rest Framework. This DEP aims to introduce a simpler and more readable routing syntax to Django. Additionally the new syntax would support type coercion of URL parameters. We would plan for this to become the new convention by default, but would do so in a backwards compatible manner, leaving the existing regex based syntax as an option.
I finally managed to deploy Django in a Docker container on production! I’ve been trying to switch to a full Docker development/production model since Docker came out, but only recently did the ecosystem mature enough to allow me to easily use Docker both for development (where it excels, in my opinion) and on production (where it’s pretty okay and quite useful).
One of the benefits of the app structure of Django is that disparate pieces of your project don’t necessarily know about each other. But sometimes something happening in one app needs to trigger an action in another.
Try Hired and get in front of 4,000+ companies with one application. No more pushy recruiters, no more dead end applications and mismatched companies, Hired puts the power in your hands.
Easily store, retrieve, and convert measurements of weight, volume, distance, area and more.
Dan Kaufhold shares his guide/journey, that will serve you as an outline of the process of migrating a single server setup to a cloud using Docker for containerisation.
Guilherme Caminha explores the utility of using on_commit hook available from 1.9 onwards in sequencing part of a time consuming task in django view and rest offloaded to an async process.
So, I just wanted to share a few straightforward tips about database access optimization. For the most those tips are not something you should go to your code base and start refactoring. Actually for existing code it’s a better idea to profile first (with Django Debug Toolbar for example). But those tips are very easy to start applying, so keep them in mind when writing new code!
Django Micro — Lightweight wrapper for using Django as a microframework and writing small applications in a single file.
Fabric is a Python (2.5-2.7) library and command-line tool for streamlining the use of SSH for application deployment or systems administration tasks. My fabfile.py is composed for Git, but you can easily change it to Mercurial or even Subversion. It's much easier to deploy when you use deploy keys, but it is still possible to use HTTP. I personally hate entering passwords, so I would recommend using deploy keys and SSH.
django-click is a library to easily write Django management commands using the click command line library.
Simple React Boilerplate on Django.
django-modern-rpc is a free, lightweight RPC server for Django projects. It supports JSON-RPC and XML-RPC requests under python 2.7, 3.3, 3.4, 3.5 and Django 1.8, 1.9 and 1.10. Note this project is still under development.