Chicago Django/Python Blog - Imaginary Landscape
April 09, 2013 9:51 a.m.
Upgrades: Making the Jump from Django Old to Django New
Sometimes we are faced with the challenge of upgrading old Django-based projects. The task can be daunting, as a lot has happened in Django within the last few years. Since Django 1.1.1, Django has been through 15 micro releases and 4 minor releases. The term "minor" seems deceptive as a lot of changes occur between Django 1.x and 1.[x+1]. The ideal situation would be to incrementally keep one's Django application up to date as new releases are issued; that's not always possible for ...
Updated 04/09/13 @ 09:51AM CDT by jjasinski0 Comments
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
January 21, 2013 3:01 p.m.
We've been working with more and more startups that are already using or have decided to use Django for their new web-based businesses.
We've known for some time that Django is well suited for the kind of rapid iterations required for start-up firms. Now that Django has matured as a framework, there are ample examples of its ability to scale to the highest levels (Pinterest, Instagram, Disqus to name a few).
Over the past year, we've worked with a number of start-ups worldwide that have chosen Django as their underlying technology. Their initial decision ...
Updated 01/21/13 @ 03:01PM CST by brian
December 31, 2012 1:59 p.m.
We love Rackspace at Imaginary Landscape. Recently, we needed to store a number of large files securely, and for logistical reasons, we chose to store them via Rackspace’s Cloud Files. Rackspace provides the ability to create temporary URLs for files stored via their service. This allows temporary access to privately hosted files via a Web address. This is useful to prevent sharing a file's URL, as the address is only valid for a short amount of time. More information about temporary URLs with Rackspace Cloud Files can be found here: http://www.rackspace.com/blog/rackspace-cloud-files-how-to-create-temporary-urls/.
django-cumulus is ...
Updated 12/31/12 @ 01:59PM CST by djohnson
November 21, 2012 12:56 p.m.
Recently I have just enjoyed my first anniversary working at Imaginary. It has been a pleasure. Working in such a professional environment, with a great team of collegues, using Django and Python to solve problems I've never encountered before is, I have to say, a great experience to have as a day job.
More recently, I experienced another first. At the last Chicago Djangonauts meeting, which we host in our office, I gave my first Python/Django talk. I spoke regarding unit-testing your code in general, but, also how unit-testing works within the context of web-applications.
The talk went ...
Updated 11/21/12 @ 12:56PM CST by dlacewell
September 05, 2012 8:29 a.m.
This morning during the DjangoCon US Lightning Talks, I announced the launch of djangonauts.org, a directory of Django user groups worldwide. Any and all Django user groups are welcome to visit the site and list their site for free.
In addition, if your user group does not have an existing website or meetup page, djangonauts.org will provide a section for you (e.g. djangonauts.org/chicago). The site is powered by DjangoCMS which makes it easy to cordon off a section and give group organizers full CMS control over it.
As the current organizer of the Chicago Djangonauts ...
Updated 09/05/12 @ 08:29AM CDT by brian
August 08, 2012 12:37 p.m.
Here at Imaginary, a number of our client sites make use of the excellent Django-CMS which provides CMS pages that can be populated with a variety of content plugins. This allows client faculty to manage content on CMS-specific pages without the continued involvement by our production staff. This is pretty handy. However, a problem with this system arises when a single page needs both CMS editable content and traditional Django view logic. For a long time I wished that CMS supported a way for me to embed arbitrary CMS content on non-CMS pages. This would allow me to control the ...
Updated 08/08/12 @ 12:37PM CDT by dlacewell
July 24, 2012 10:18 a.m.
I'm happy to report that the DjangoCon schedule has been announced and we have two presentations that made the cut.
Joe Jasinski will be making the solo presentation, "So You Want to Make a Payment: Comparing and contrasting Django payment options" which will introduce and compare some common payment gateway options, such as Payflow, Authorize.net, Stripe, and Braintree, with the focus of integrating them into Django projects.
In addition, Joe will be teaming up with me for the presentation, "Under the Microscope: Evaluating Existing Django Code When Onboarding a New Client" which will describe our process for evaluating ...
Updated 07/24/12 @ 10:18AM CDT by brian
June 27, 2012 12:40 p.m.
Here is a quick example of how to add a multiple file form to your Django application. Most multiple-upload front-ends were created without Django in mind, so interfacing with tools is not always straightforward as it might be with a different language. Thankfully, there are a couple of Django libraries and tutorials that help facilitate this interaction. This example discusses one solution and by tweaking the information here, you should be able to adapt it to your needs.
This example is based on the work and repo provided by Sigurd Gartmann and uses the jQuery File Upload Plugin. Included in ...
Updated 06/27/12 @ 12:40PM CDT by djohnson
Page 1 of 4