Chicago Django/Python Blog - Imaginary Landscape
May 05, 2014 10:48 a.m.
The IPython Notebook is a really cool application, and I've always wanted to use it during Django development and debugging. The only problem is that it requires a lot of dependencies and I feel no need to encumber my production projects with those dependencies for a feature that I only plan to use in development on my desktop. Specifically, the http version of IPython Notebook requires jinja2, tornado, pyzmq (and libzmq3), and markupsafe.
Ideally, I'd be able to install these dependencies only for development, and recently I figured out a workable way to accomplish this. I figured that ...
Updated 05/05/14 @ 10:48AM CDT by jjasinski0 Comments
December 05, 2013 3:21 p.m.
Recently I had the opportunity to attend the DjangoCon Sprint here in Chicago (see related post). One of my big take-aways from the event was that contributing to Django isn’t as daunting as I previously thought. The process is mostly straightforward and the Django team has gone a long way to make the process of contributing relatively painless. I’ve decided to write a small article on how to get started and where to look. Hopefully this helps you begin, but it is no replacement for all the great information provided by the Django team.
The first page I ...
Updated 12/05/13 @ 03:21PM CST by djohnson
November 01, 2013 4:14 p.m.
This year I attended my first DjangoCon and, needless to say, it was pretty amazing. I also attended my first Django Sprint after DjangoCon was over. It was a fantastic opportunity to work alongside some of the members of the core team and to learn more about how decisions are made for the Django project. Here is a little bit of information about the sprint and some things I took away from it and would like to share.
I was not sure of what to expect at the sprint. Even after looking at blog posts from other people and chatting ...
Updated 11/01/13 @ 04:14PM CDT by djohnson
September 30, 2013 11:28 a.m.
The Django Debug Toolbar is a powerful and useful tool for identifying potential trouble spots in your Django application. Hopefully, this post will serve as a starting point for understanding the information presented by the toolbar. Also, we will cover a couple of plugins for the toolbar, cache panel, and template timings.
Installation will not be covered here as the installation instructions provided in the project’s documentation are straightforward, but links will be provided to the various installation instructions:
- Debug Toolbar: https://github.com/django-debug-toolbar/django-debug-toolbar
- Cache Panel: https://github.com/lincolnloop/django-cache-panel
- Template Timings: https://github.com/orf ...
Updated 09/30/13 @ 11:28AM CDT by djohnson
September 19, 2013 12:33 p.m.
It has been a week since our production team returned from the 2013 DjangoCon US. Though technically we didn't return since it was in Chicago where we are located! Nevertheless, it was, wholeheartedly, an uplifting and enlightening experience.
Russell Keith-Magee's keynote really demonstrated just how far the Django Project and its community have come. The focus on the Django trademark and the DSF's formalization of legal boundries is evidence of a growing maturity and market share. While Django does face some serious challenges in remaining competitive in an unrelentingly evolving ecosystem of Web technologies and techniques, Django ...
Updated 09/19/13 @ 12:33PM CDT by dlacewell
September 03, 2013 1:01 p.m.
Below is a PDF of the slides for today's DjangoCon US presentation, "Trial By Fire: Real World Performance Optimization" by Joe Jasinski and Dan Johnson (Tuesday, September 3, 2013 - Track 2).
Updated 09/03/13 @ 01:01PM CDT by brian
June 13, 2013 4:04 p.m.
Simple Job Queues with django_rq
The de facto solution for job queues with background workers is Celery and RabbitMQ, but it is not the right fit for every project. RQ is an alternative to Celery, and while not as featureful, does provide a lightweight solution that makes it easy to set up and use. RQ is written in Python and uses Redis as its backend for establishing and maintaining the job queue. There is a great package that provides RQ integration into your Django project, Django-RQ.
Installing django-rq is simple!
pip install django-rq
Configuration of django-rq is simple!
Add ‘django-rq ...
Updated 06/13/13 @ 04:04PM CDT by djohnson
April 09, 2013 9:51 a.m.
Upgrades: Making the Jump from Django Old to Django New
Updated 04/09/13 @ 09:51AM CDT by jjasinski
March 11, 2013 11:53 a.m.
A few weeks ago I gave a talk at the Chicago Djangonauts meeting on Django Internationalization. Apparently this isn't a task that a lot of people need to do frequently, as the crowd was not too familiar with the content of the talk. Luckily, internationalization isn't too complicated a concept and it seemed that everyone took to the information comfortably.
When it comes down to it, internationalization is essentially a technique that replaces all strings in your application with an object that is evaluated at the last minute. When the object is evaluated, it looks up the actual ...
Updated 03/11/13 @ 11:53AM CDT by dlacewell
February 26, 2013 10:22 a.m.
As part of our new appreciation for start-up organizations and their love of Django, we thought we’d share how we approach the concept of rapid UI prototyping.
Early stage start-up companies often need a proof of concept to help convey the vision of the new business model. Yes, there is the cocktail napkin approach and certainly there is value in wireframing the functionality, but something a little more polished can be of tremendous value as these organizations try to attract capital.
In most cases, the need is to “throw something up” on their newly registered domain on a free ...
Updated 02/26/13 @ 10:22AM CST by dbertrand
Page 1 of 5