Greetings from Greece (γεια σας!) where
Lincoln Loop is setting up camp for the week
. Without further delay, here's Django Round-up #10.
Featured
The latest in the Getting Started with Django series. In "Start Lending", Kenneth, kicks off a new project with some handy third-party form and model helper apps.
Pydanny is back with some great live notes from the latest DjangoCon in Warsaw. It sounds like it was an amazing event and if your can't wait for the videos to be released, this is these notes are the next best thing.
Links of Interest
Development is underway on Andrew Godwin's successful Kickstarter project to bring migrations into Django core. This post outlines his initial work and some of the problems he intends to fix.
Daniel Lindsley's search for help maintaining his widely used TastyPie (API) and Haystack (search) apps was a success. Look for the new committers to continue to push these apps forward.
Unlike Django, Flask doesn't enforce a specific file structure on applications. This is a nice sample of how to layout a Flask application that goes beyond a single file.
A two-post series on some tips learned after building real-world Django projects. It's the kind of shared knowledge that experienced developers often forget to document, but is invaluable to new users.
A couple of quick little hacks (check the comments too) to make your form processing views a bit more concise with one less conditional branch.
Apparently this has been around for a while, but it's new to me. A live check of security for your Django sites. Erik gave a lightning talk at Django Circus on the subject and also
gathered some statistics after running it over DjangoSites.org
.
A great example of customizing Django Haystack to use special features in ElasticSearch. Haystack creator, Daniel Lindsley, gives his stamp of approval in the comments.
A four part series on setting up a custom user model and authenticating it against a Kerberos server. A helpful tutorial if you need to setup an internal site with single sign-on against Windows Active Directory server.
Stephen McDonald, maintainer of the popular Mezzanine CMS, discusses how he built "Drum", a HackerNews/Reddit clone using Mezzanine. Using a CMS for this style app might sound strange, but in the words of the author, "Mezzanine is just Django".
Another Mezzanine post, this one about transitioning from plone, with some details on how to integrate Angular.js into the CMS.
New & Updated Packages
-
django-haystack
Django's de-facto search app reaches 2.0.
-
django-rest-framework
This API library hits 2.3 with some great new features.
-
django-statsd
Integration and helpers between statsd and Django.
-
django-xadmin
Drop-in replacement of Django admin with lots of goodies based on Twitter admin.
-
django-monitio
Unified, persistent user messages with live notifications via Server Sent Events.
-
Django Jobs
That's all for #10. We'll be back in a couple weeks!
Peter Baumgartner
Founder, Lincoln Loop