FeaturedDjango 1.9 release candidate 1 releasedLast month, saw the release of 1.9 RC1 (now official). It’s the first official non-LTS release since the new release process was formalized . Bugfix release issued: 1.8.61.8.6 fixes a handful of bugs found in the 1.8 branch. Security releases issued: 1.9rc2, 1.8.7, 1.7.11Fixes a rather obscure issue that could be exploited if a non-trusted user is able to edit templates or pass values to the date filter. Introducing the DSF’s Director of AdvancementAdrienne Lowe joins Django Fellow Tim Graham as the second paid position at the Django Software Foundation. She will be tasked with leading the fundraising efforts. High Performance Django
Links of InterestDjango Under the Hood VideosVideos from Django Under the Hood are online as well as Reinout van Rees’ always excellent talk summaries . Refactoring Search from Django App to MicroserviceThe trials and tribulations of breaking search functionality out of Django/Haystack and into it’s own service. Scaling Django: Breaking out not breaking upA great example of breaking a “hotspot” in a Django project out into a more efficient stand-alone endpoint. How To Create Installable, Reusable Django PackagesUsing the cookiecutter to quickly create Django packages ready for submission to PyPI. How to fix database race conditions in Django viewsOne technique to make database transactions atomic. I just ran into this one on a client site today! Optimizing slow Django REST Framework performanceLike the ORM, it’s easy to pile on queries when naively using DRF. This post shows you how to optimize nested DRF responses. Getting Started with Django REST Framework (DRF) and AngularJS (Part 1)Building up a Django/Angular project from scratch. This post primarily focuses on getting the initial structure right. Setting Up a BDD Stack on a Django ApplicationTesting Django applicaitons using Behavior-Driven Development style tests written as natural language user scenarios. Single Django codebase with multiple sitesPlugging in all the pieces to get a multi-site Django project running in production. When you shouldn’t use the Django adminThe Django admin is extremely easy to setup, but don’t get lulled into using it for everything. There are many scenarios where it is not the best choice. Django Deployment made simple!Simple may be a bit of a stretch (manual deployments require many steps), but this is a thorough set of instructions for setting up a server with Postgres, uWSGI, and Nginx for hosting multiple Django sites. Installing Django on IIS: A Step-by-Step TutorialWhile Linux is the most common OS for deploying Django, it will work just fine on Windows too. This post shows you how to set it up as a FastCGI site within Window’s web server, IIS. Upstream Caching: A Django Developer Crash CourseAn introduction to caching including where and when it is most effective. Introduction to real-time web with DjangoDjango doesn’t have real-time server push functionality baked-in (yet). In the meantime, it isn’t too difficult to set it up yourself. This post shows you how both via a third-party service and a simple Python websocket server. Faster Testing with RAM DrivesFast tests are a good thing. Moving your test database to a RAM drive can make your tests faster. Django’s model save vs. full_clean
Django’s model validation may not work the way you think. See the differences between
Deploying Python 3, Django, PostgreSQL to AWS Elastic BeanstalkElastic Beanstalk is a nice middleground between a PaaS like Heroku and manually setting up a VPS. Wrangling Django ArrayField MigrationsUsing Django migrations to create array fields in Postgres. New & Updated Packages
|
Django Round-Up #39
By Django Round-Up on