FeaturedDjango team seeks help maintaining Oracle and Oracle GIS backendsAre you using Oracle with Django? The database backend is currently without a maintainer and runs the risk of being deprecated unless somebody steps up to provide support. Security releases issued: 1.8.4, 1.7.10, 1.4.22An issue was discovered with how logouts are handled that could overflow the session store resulting in excessive memory or disk space usage and possibly premature eviction of valid sessions. High Performance Django
Links of InterestEuroPython 2015: Videos are onlineLots of Python videos (173 to be exact) including seven Django-specific talks from this year’s EuroPython in Spain. DjangoCon EU 2015: Videos are onlineIf the EuroPython videos weren’t enough for you, also enjoy all 73 videos from DjangoCon EU in Cardiff. Old School Django
A fun look back at what building a Django site was like back in 2005 when the
AWS load balancers with DjangoNot much Django-specific here, but a good checklist on how to wire up your servers to Amazon ELBs, including HTTPS traffic. Django Girls one year laterHard to believe Django Girls has only been around for one year. Hundreds of volunteers and over 1600 women have attended their workshops. Also check out their Winter of Code effort to build out the job board and meetups section of their site. Testing Django Views in IsolationUsing Django’s RequestFactory and mocks to perform unit-style testing on Django views. Doing more with the Django adminDjango admin basics and more advanced customization from IBM developerWorks. Introducing Django.nV: An intentionally vulnerable Django applicationDjango does a lot to protect you from security vulnerabilities, but it’s still possible to “do it wrong”. Check out this project for some examples of how not to do it. How to speed up tests with Django and PostgresqlPostgreSQL is very fast if you configure it to be “non-durable”. While you don’t ever want to do this in production, it can make your test suite super fast. Using Django REST Framework for CSV exportA neat use of DRF to dump out data to a download-able CSV file. Django Upgrade Maverick StyleA step-by-step “cowboy” upgrade of a small Django site from 1.5 to 1.8. This post is followed up by an upgrade from Python 2.7 to 3.4 . Upgrade EasilyIf you build libraries that are used by other developers, this is a great guide on how to make the upgrade process as simple as possible, using Django REST Framework as an example. Making Clean Code a Part of Your Build Process (And More!)
Using
Nested resources with Django REST Framework
Implementing a nested API with
Django Basics: Class-based Generic ViewsA closer look at how to use CBVs in the context of a basic blog application. Template fragment caching gotchasTemplate fragment caching is a great way to improve Django’s performance, but be careful how you implement it. Choosing the proper cache key is… uhm, key to success. Timezone aware field renderingTimezones are notoriously difficult. This post shows you how Django renders timezone aware datetimes in different scenarios. New & Updated Packages
|
Django Round-Up #36
By Django Round-Up on