Introduction to Gondola

September 19, 2008 | gondola, django | 4 comments

Gondola is our content management system built on top of Django. I briefly showed it off during my DjangoCon Lightning Talk, but have been wanting to give it a proper screencast for a while. Here’s an introduction:

A few common questions I don’t tackle in the screencast:

  • Is this an open source project?
    As of right now, no. I do plan on spinning off a few bits as open source over time. In fact, the WYSIWYG editor is already on Google Code as django-admin-uploads. Unfortunately it hasn’t been synced up with our in-house code in a while and isn’t working on 1.0. We’ll get that updated at some point in the near future.
  • How much will it cost?
    I haven’t settled on a pricing structure yet, but I want it to be affordable for small businesses.
  • What version of Django are you running ...

Full post →

My Lightning Talk from DjangoCon 2008

September 18, 2008 | trailmapping, presentation, django | 2 comments

DjangoCon was an amazing conference all around. I met some great people and learned a lot. I also had the opportunity to get up on stage and present some of the things I’ve been working on here. I was really nervous and after seeing how well prepared the presenters before me were, I had doubts about my plan to go on stage and wing it. I spoke about Trailmapping and Gondola the CMS I’ve been working on.

Afterwards, I was blown away by the number of compliments I received. A few people told me they thought my talk was the best of the bunch which was really encouraging. To everyone that reached out, all I can say is thanks; it meant a lot. I’m inspired to carve out some more time to blog about the things I’m working on, specifically Django admin customization and jQuery.

Well ...

Full post →

Managing Django Projects on Your Server with Style

August 28, 2008 | django | 3 comments

A friend is in the process of setting up a new slice at everbody’s favorite VPS provider Slicehost and asked for some advice. I use MySQL, Nginx & Apache/mod_wsgi on Ubuntu to serve Django. I think Slicehost’s Articles are awesome and a great place to get help you get everything installed and running, so for this article, I’ll focus on some personal preferences regarding directory structure and repo management.

One of the biggest difficulties I’ve had to tackle lately is the rapid progress of Django. I have a number of client sites hosted on my slice and have had to freeze them at certain times when backwards incompatible changes come along. My original approach made this really messy, because I only accounted for having one copy of any given third party repo, symlinked from /usr/local/src to my Python site-packages directory. My new approach takes ...

Full post →

Building a Community Site with Django in 40 Hours or Less

July 20, 2008 | trailmapping, django | 9 comments

All the recent hub bub about 1 week and 1 day application development, motivated me to see how quickly I could launch a website for myself. I, like many developers, struggle with building and releasing personal sites. Ask a web developer and they’re likely to tell you about a couple of sites they started and never finished. Time is always an issue, but the bigger problems are striving for perfection prior to launch and always holding out for that one “killer” feature. As time goes on, interest in the project wanes until it finally gets shelved.

The Plan

Prior to development, I set a few goals for myself:

  1. Launching quickly was priority number one. I set a goal of 3 days.
  2. Use as much existing code as possible. Even if it wasn’t a perfect fit, if it was functional, use it.
  3. Optimize later.
  4. Stop scope/feature creep at ...

Full post →

Django Newforms Admin Merged to Trunk

July 18, 2008 | django | No comments yet.

This was a huge feat. Congrats guys! 1.0 here we come.

Full post →

Django for Hire

June 26, 2008 | company news, django | 3 comments

Lincoln Loop has been in “head down” mode for the last couple months. In addition to being knee deep in client projects, we have grown from a one-man development studio to a full-fledged Django development shop/consultancy. We are proud to announce that Lincoln Loop is the first (that we know of) company focusing solely on Django application development. Our development team is currently five strong and oozing with talent. Each member contributes to the community in blog posts or open source add-ons; a few of us have contributed code to Django itself. More on our dev team in the near future.

We went through the typical growing pains during the transition, but the kinks are worked out and we can officially say that we are open for business. Django projects big and small, send them our way. Our devs can handle nearly anything.

  • New Django projects based on your ...

Full post →

Getting RequestContext in Your Templates

May 10, 2008 | code, django | 10 comments

Lately, we’ve been taking over projects from people who began building their first site in Django, but either got in over their head or just found they didn’t have the time to continue. As I review the existing code, the first issue I typically see is using the render_to_response shortcut without including the RequestContext, preventing context processors from being used in the templates. The standard symptom is when people can’t access MEDIA_URL in their templates.

Here are a few ways to add RequestContext to your templates.

Option #1: Adding RequestContext to render_to_response

The Django documentation recommends passing RequestContext as an argument to render_to_response like this:

from django.shortcuts import render_to_response
from django.template import RequestContext

def my_view(request):
    # View code here...
    return render_to_response('my_template.html',
                              my_data_dictionary,
                              context_instance=RequestContext(request))

This works, but as you can see, it adds a fair amount of repetitive code to your views ...

Full post →

Google App Engine First Impressions

April 8, 2008 | code, django | 2 comments

For those of you that have been hiding under a rock for the last 12 hours, App Engine is Google’s answer to Amazon Web Services. While it is less flexible in some senses (you don’t have a complete OS at your disposal), it does provide tighter integration for web applications and even includes a (somewhat crippled) version of Django out of the box.

I’m pretty excited about this mainly because I’m not a big fan of server administration, so I took a couple hours this morning to test it out. Here are some quick notes:

The Good

The ...

Full post →

Reusable Django Apps and Forking

April 4, 2008 | code, django | 15 comments

One of the things that drew me towards Django was the idea of being able to create reusable applications that would sit on my PYTHONPATH instead of copied across multiple sites. Coming from WordPress, the constant security updates that required me to revisit old projects began to drive me mad.

Trouble in Paradise

With some real world Django experience under my belt, I find myself re-using apps all the time, but not how I originally expected. A fair amount of my client work comes from building content management systems, so I started out building a generic app like flatpages but more extendable and a blogging app. I dropped them in my PYTHONPATH and started adding them to INSTALLED_APPS on my projects.

Over time, they evolved and improved, but they started to handcuff me. I started thinking things like, “This would be a great feature for Project X, but it would ...

Full post →

Serving Django via CherryPy

March 25, 2008 | code, django | 10 comments

Download django-cpserver

Background

A few months ago, I got sick of trying to deploy Django sites on my cPanel server and got a VPS at Slicehost. Thanks to SuperJared, setting up Apache/mod_python behind an Nginx frontend was a snap.

I started deploying and migrating sites to the new server and kept an eye on my server resources via Munin. I had about 10 sites running on a 1GB Slice, but the Apache processes were hogging all the RAM. Restarting Apache would bring memory usage down to around 500MB, but within a couple of hours, it would be using all my available RAM, with individual proceesses using as much as 120MB.

I started asking questions and trying different options including mod_wsgi, verifying projects weren’t in debug mode, etc. Nothing made a difference.

CherryPy to the Rescue

I came across Loic d’Anterroches’ script to run Django via CherryPy and ...

Full post →

Page 1 of 5
← older posts

Our Products

Premier Real Estate Websites
Our simple and easy real estate CMS. Now open for full developer access.
Trailmapping
Still in development, Trailmapping is a GPS enabled trail guide and trip logger.

Categories

Archives

Elsewhere

What I’ve been up to online

  • @37signals I'm seeing a lot of this in Basecamp right now http://skitch.com/t/ejx
    3 days, 16 hours ago #
  • I'm drowning in contracts
    3 days, 20 hours ago #
  • django-reversion - Google Code
    Need to look into this. Version control throughout an entire Django project.
    3 days, 20 hours ago #
  • InfiniteRed - Fun and profit by modifying your Bash startup files...
    Been looking for something like this for a while. Pretty colors in Terminal.app and lots of nice little hacks for .bashrc
    5 days, 9 hours ago #
  • Bluetooth between Apple wireless kbd and Macbook Air is awful. Regular disconnects only solved by reboots. http://skitch.com/t/eg1
    5 days, 21 hours ago #
  • Connection Lost
     
    6 days, 4 hours ago #
  • virtualenv with OSX -
    Little trick to get virtualenv to find your site-packages in OS X. The issue is fixed in trunk, but not in the current PyPI release.
    6 days, 20 hours ago #
  • lazyweb screencast/blog request: getting the most out of Terminal.app (keyboard shortcuts, color, vim styling, etc.) @ericholscher? @jlilly?
    6 days, 21 hours ago #
  • Custom Django Views for Happier Ajax @ Irrational Exuberance
    Nice writeup on using creating AJAX views w/ Django & jQuery
    1 week, 3 days ago #
  • OpenSolaris nailed to a wall with a $100 offer | Dennis Clarke with vi and coffee
    Good primer on getting a stock OpenSolaris install updated and prepped for server duty.
    1 week, 5 days ago #
  • @bkroeze tried to get in touch with you via your web form. Drop me a line, pete@lincolnloop.com
    1 week, 6 days ago #
  • Double billed by Hotel Avante during #djangocon. Looking forward to wasting an hour of my day to get this fixed.
    1 week, 6 days ago #
  • Hey lazyweb, any recommendations on an quality SEO/Online Marketing specialist I can recommend to clients in the States?
    2 weeks ago #
  • django-rcsfield - Google Code
    Store database changes in bazaar or subversion. Very cool, I've wanted something like this for an app I've had in my head for a while.
    2 weeks, 3 days ago #
  • @jtauber http://tinyurl.com/5uvvyf
    2 weeks, 6 days ago #

Interested in working with us?
Fill out the form below or contact us at:

PO Box 774441
Steamboat Springs, CO
80477

970.879.8810
info@lincolnloop.com