Your current filters are…
In this DevOps world, Django programmers are increasingly being asked to manage the database as well. In 45 brisk minutes, we will talk about (nearly) everything you need to know to bring up, tune, and keep a PostgreSQL database health. We'll go over installation, basic tuning, backups, disaster recovery, and helpful tools and techniques.
by Daniel Greenfeld and Audrey Roy
The common approach for getting MongoDB to work with Django has been to replace Django ORM based pieces with MongoDB based alternatives. This is usually accomplished by forcing MongoDB to behave like a relational database and is done with extremely sophisticated code. The result is something that doesn’t behave quite as nicely as a relational database, and negates many of the advantages MongoDB (and other NoSQL databases) possess, hence the title of this talk. This talk will not only go over the existing heroic but flawed approaches, but will also propose a simpler, more direct path for getting Django to play well with MongoDB. Simpler is important, because it makes possible the creation of a developer-accepted bridge between MongoDB powered efforts and the hundreds of Django ORM powered efforts available on Django Packages.
Co-presented with Audrey Roy, this highly technical talk will include theory and a lot of code examples.
by Bruno Renié
Django's class-based views API — landed in Django 1.3 — offers a very powerful yet complex way to build Django views. This talks aims at explaining the internals of the API and giving practical advices for building class-based views. Crowd-sourced examples of patterns and anti-patterns will be shown and explained.
by Jude Mwenda
When a disaster strikes, several institutions create all manner of different datasets. These datasets are eventually released without any clear guidelines and missing vital metadata.
The purpose of this presentation is to bring to light the use of spatial data sharing software built on django to enable different relief agencies share spatial data. This presentation highlights the tool's use during the Eastern Africa droughts.
There will also be a brief outline on how the same platform has been adjusted for risk modelling.
by Erik Romijn
Django helps web developers in many ways, security included. But, it can't and won't handle everything - there's still security issues left that you need to take care of yourself.
This talk explores some of the most common security issues Django developers can face, with a specific focus on using the features Django already provides to help out. We'll look at how vulnerabilities can be exploited, how exactly Django tries to help and what you still need to take care of yourself.
If you always enable CSRF in your apps, but don't really know what it does or why, this is the session for you. If you always disable CSRF in your apps, this session may be just in time to save you.
GUIs are great - no question about that - but in some cases nothing serves the user better than having a simple, highly customized, query or scripting language at his disposal.
In this talk, we will demonstrate how to build such a feature into a Django project using David Beazley's great ply package. As an example, we will implement a small but perfectly usable compiler taking expressions in a simple query language as input and yielding (django.db.models.)Q objects as a result.
LFS is a online shop based on Python, Django und jQuery.
LFS enjoys growing popularity amongst users and developers. According to
djangopackages.com, LFS is the most downloaded Shop for Django (~60.000 download on PyPI).
The source code is watched by ~210 developers and the Google Group has ~165 members.
In this talk Kai Diefenbach, founder and core developer, gives an overview to LFS.
by Ludovico Magnocavallo
Wordpress is the leading platform for serving content on the web and has a great user interface and some fantastic features, but unfortunately it's not gentle with system resources, it's plagued by performance problems, and it forces developers to code in a messy, overcomplicated environment.
But what if you could use the Wordpress user interface, and serve its contents harnessing the power and flexibility of Django... WP Frontman does exactly that, by supporting all major features of Wordpress in a Django app: single/multiple blog install, custom taxonomies and post types, shortcodes and post formatting plugins, etc.
What you get compared to WP is a much simpler architecture, easy testing, enormous flexibility, and speed thanks also to a 3-level caching layer.
by Bastian Ballmann
Django Chuck is a modular, open source, command-based project build system, that gives you the power to create new projects as fast as pushing on a button.
It creates a virtualenv and a Django project for you, installs all required Python packages, creates the database and a fab file for automatic deployment and thanks to the module system you can easily add functionality like CMS, Facebook, Twitter, multilang and search engine support to a new or existing project.
But Chuck cannot be just used to create a project it can also checkout the source for you and setup everything until the Django server is running and you're ready to do your development work. Just leave all the annoying stuff to Chuck and if there is some task Chuck can't do for you at the moment you can add your own command to let Chuck configure your continuos integration system, setup your hosting or do whatever you might imagine!
by Zach Smith
Ideally, all code would have test coverage, but this is not a reality.
When you start a new project, you want to move as quickly as possible. This often comes at the expense of test coverage. Besides, you don't even know if anyone will even use your application, so tests might never be necessary.
As your userbase and your team grow, however, testing becomes a necessity.
This talk will go over tools and strategies employed by Yipit in transitioning from a 3 person development team working on an application with no tests, to an organization of 14 engineers with a highly covered codebase.
This talk dives into the specifics of why Django isn't always the best tool for the job, general frustrations with the framework, and potential fixes.
It will balanced out with many Django praises too, of course.
by Jacob Kaplan-Moss, Andrew Godwin, Aymeric Augustin, Karen Tracey and Jannis Leidel