Entries

July 14th, 2015

Django Birthday: Recap

Happy 10th Birthday Django!

Whew, what a conference! The talks were great, the venue was comfortable, and the BBQ was amazing. But that was only part of it. Many of the talks focused on the Django community and you could feel it in the room. We laughed from our bellies and teared up each time someone mentioned Malcolm.

I had the honor of giving the closing address, which was really just a thinly veiled way ...

Read Full Entry

June 17th, 2015

Django Birthday Party

So as you may know, Django is turning 10 years old this summer and we’re throwing it a birthday party. It’s a one day tech conference and one day of sprints mere feet from where Adrian, Simon, Jacob, and Wilson toiled away on “the CMS”, as it was called then. That code became the first of a few amazing refreshes of Lawrence.com and the very first Django website.

We’ve got an ...

Read Full Entry

May 29th, 2015

Improved Django Tests

You write tests. Or at least you should be writing tests! A Jacob always says, "Code without tests is broken as designed".

Unfortunately you have to write a ton of boilerplate code to test even the simplest of things. This isn't true of just Django, but most languages and frameworks. There are lots of tools like Factory Boy and pytest that help, but we can do better.

If you're looking for how to ...

Read Full Entry

May 6th, 2015

Django Performance: 4 Simple Things

Optimizing for performance often comes with a bunch of headaches and hard problems, but it doesn’t always have to be that way.

Below are four simple things you can do to quickly and easily improve the performance of your sites. They’re so simple you should make them part of your standard setup.

Persistent database connections

New in Django 1.6 Django has built-in database connection persistence. Most everyone uses PostgreSQL for their production ...

Read Full Entry

April 29th, 2015

Wagtail 1.0 (beta) best Django CMS?

Now that the Wagtail CMS is gearing up for its 1.0 release, I wanted to take some time to introduce you to the all around best and most flexible Django CMS currently available. Wagtail has been around for a while, but doesn’t seem to get the attention I believe it deserves.

We’ve used Wagtail recently on a number of projects, and the overall experience has been great. It strikes the right balance ...

Read Full Entry

March 26th, 2015

RevSys Roundup - March 2015

Revolution Systems has been having a great time recently and wanted to highlight a few things that have been happening in our world.

TEDxLawrence 2015

We were happy to have partnered with TEDxLawrence to put on the first ever TEDx event in Lawrence. Frank helped organize and MC the event as a member of the steering committee. We also built the website using our new favorite Django based CMS Wagtail. The videos of the awesome ...

Read Full Entry

July 12th, 2014

Python Dev Tip: DRY your shell with PYTHONSTARTUP

Do you find yourself re-doing the same Python shell stuff?

I know I do. I'm constantly doing it and replaying some of my IPython history isn't cutting it for me anymore. IPython has profiles but they're not terribly easy to get working with Django and your typical manage.py shell command.

Site wide is easy, but what about per project?

You can load things and execute code for ALL your Python shells ...

Read Full Entry

October 20th, 2011

PEP712 - Proposal to make unittest2 more accurate

PEP:712
Title:Proposal to make unittest2 more accurate
Version:a58437babcaa
Last-Modified:2011-10-20T14:40:01.661119 (Thu, 20 Oct 2011)
Authors:Frank Wiles <frank@revsys.com>, Jacob Kaplan-Moss <jacob@jacobian.org>, Jeff Triplett <jeff@revsys.com>
Status:Draft
Type:Humor
Created:20-Oct-2011
Python-Version2.7

Introduction

This PEP describes a proposal to make unittest2 output more accurate and fun.

The Proposed Solution

Upon having more than 7 failing tests in a test run replace all ...

Read Full Entry

April 7th, 2011

We're hiring!

UPDATE: I completely forgot to update this post until now, but we have filled this position.

We're looking for a full time developer. If you're reading this you probably know what we do, so you'll obviously need to know Django pretty well. Knowledge of PostgreSQL and devops skills are a big plus. We would prefer if you lived in Lawrence, Kansas, obviously, but a few visits here may be fine. Only because ...

Read Full Entry

January 31st, 2011

Giving Back to the Community

We're big fans of open source, so we like to give back to the community whenever we can. Having a strong community is actually personally and professionally selfish: a vibrant community not only helps ensure we keep getting to eat on a regular basis, but it also means there is more useful code available for us to use.

Neither Jacob nor myself would be in the position we're in if it wasn't ...

Read Full Entry

December 31st, 2010

2010: A Year in Review

2010 was a great year for RevSys and for Jacob and I, both personally and professionally. Here are some of the highlights:

  • Jacob gave a ton of training classes around the US in cities such as NYC, Boston, Los Angles, and Atlanta. Between his training schedule and speaking engagements he managed to log close to 60,000 miles of travel hitting 31 cities in 4 countries this year. I'd list links to all of ...

Read Full Entry

November 2nd, 2010

Open "Office Hours"

We've been wanting to try this for awhile, but have been too busy to actually try it out until now. Jacob Kaplan-Moss and I will be holding open "office hours" this Friday November 5th between 1-3 PM CDT in IRC. Come join us in #revsys on freenode and pick our brains. Or just come to listen and learn.

The concept is pretty simple, Jacob and I (and likely many other knowledgeable Djangonauts) will be ...

Read Full Entry

August 26th, 2010

Centralized logging for fun and profit!

Setting up a centralized log server using syslog isn't as hard as many may believe. Whether it's logs from Apache, nginx, email services, or even from your own Python applications having a central log server gives you many benefits:

Benefits to a centralized logs

  • Reduces disk space usage and disk I/O on core servers that should be busy doing something else. This is especially true if you want to log all queries ...

Read Full Entry

July 6th, 2010

Investing in Yourself - A review of Django 1.1 Testing and Debugging by Karen M. Tracey

Packt Publishing recently asked me to read and review Django 1.1 Testing and Debugging and I have to admit I really enjoyed reading this book. Often I find myself debating whether or not to purchase a new development book. I'm usually thinking "If I spend $XX.XX on this book, will I really learn anything worth that much?". Especially considering most answers are a few Google searches away. I can happily attest this ...

Read Full Entry